JavaScript Documentation
You can extend 1Writer’s functionality by creating custom actions in JavaScript.
1Writer supports the following objects:
- editor: interact with 1Writer’s text editor.
- app: interact with the app (open URL, toggle dark mode, interact with the clipboard).
- ui: interact with user (ask for user input, display output, HUD).
- http: perform HTTP requests.
- webBrowser: interact with the in-app web browser.