I’ve put together a couple of demo actions which utilize the new AppleScript features available in Drafts 19. They are not necessarily that inspired examples, but give an idea of some of the possibilities.
Naturally, these all require you update to Drafts 19 or greater, and are running on a Mac. No AppleScript on iOS.
New Draft with Safari Tabs
- Creates a new draft with a Markdown list of titles/URLs of all tabs currently open in Safari.
Send to BBEdit
- Opens a new document in Barebone’s venerable editor BBEdit containing the contents of the current draft.
Markdown to Notes
- Runs the current draft through Markdown to get HTML, creates a new note in Apple Notes with the resulting HTML.
These are mainly designed as examples to help get you rolling on your own AppleScript actions. Hope to see some other examples coming from you all soon!