Scripting


About the Scripting category (1)
Run Drafts Action shortcut and data passed to Drafts (5)
Possible with scripting? List from file names in a folder (3)
Cancel action or throw error on error condition? (3)
Grab "text" portion from incoming Drafts URL scheme? (5)
Variables in "if" statements? (3)
2Qs: Draft.query / Move to archive (4)
Script for converting hashtags to Drafts tags (4)
Remove fixed tag if present (10)
HTML tags with attributes (2)
Script executing on draft and duplicate of draft (3)
Using xmlrpc generically? (2)
NATO Phonetic Text Replacement (6)
Drafts Action — Add To List (4)
Fast repeated input using javascript keyboard button leads contents loss or sometimes crash (2)
Trying to integrate a script that can calculate age from birthdate in months and years (6)
Delete lines from a Draft (2)
Global objects in Actions AND Key Scripts (6)
Best way to store persistent variable? (6)
Speeding up and enriching the (test ⇄ adjust) cycle for Drafts script actions (`let` in lieu of `var`) (16)
Importing a named text file from iCloud (6)
JavaScript Tutors (15)
Replace a space via regex? (3)
Useful set of JS functions (1)
Draft changes in editor without calling draft.update() (3)
Read directory contents (3)
Writing a Drafts script step which can also run in macOS BBEdit (2)
Multiple Dropbox accounts: Loading a specific TaskPaper document, in Dropbox, via javaScript in Drafts (3)
Reminders Script (3)
Reference Action Name in Script (4)