A menu for selecting and pasting from the generic JS (and file-system JXA) functions at:
(Most of these functions are platform-independent, and can also be used on iOS with the excellent 1Writer, and with @agileTortoise's Drafts. c. 25-30 of them – essentially those dealing with the file system – are macOS specific)
Installation:
- Install the macro below in Keyboard Maestro,
- copy
jsPreludeDict.json
from the GitHub repository to a path of your choice, and - update the preludeJSON variable in the macro to match the path on your local system.
Choose and paste from 350 generic JavaScript and JXA functions.kmmacros (25.9 KB)