About the Scripting category (1)
Keeping scripts in Drafts and using js eval() in code editor (5)
Writing a Drafts script step which can also run in macOS BBEdit (1)
Using the JS `!` operator to toggle true ⇄ false settings (1)
Lost work on a long script (5)
Is there a way to get just the body of the current draft in JavaScript? (4)
First JS script... appending to an existing draft (4)
How to store an authorization token? ( 2 ) (24)
Recipes :: Working with a subset of lines in a draft (1)
Faster Drafts scripting and less debugging – use `map` for simpler code (2)
Using the Todoist REST API with Drafts (9)
Converting a Javascript Draft to a template (8)
Speeding up and enriching the (test ⇄ adjust) cycle for Drafts script actions (`let` in lieu of `var`) (13)
Twitter.create keeps failing, unsure how to debug (3)
Editor: move caret to a specific position (9)
Wherefore is 'var for' simple or quick for scripting Drafts? (2)
Any chance of callbacks in Prompts? (3)
Date Parse format, can’t get ordinal suffix (3)
JS :: Summing numbers over a range of lines (with Array.reduce) (5)
Trying to get my arms around Scripting in Drafts (3)
JS :: More general use of Array.reduce - partitioning lines or drafts into two groups (1)
JS :: Simpler interactions between 2 or more script steps (3)
JS :: Use Array.reduce to move done items to the end of the draft content (5)
JS :: Building prompts with Array.reduce and Object.assign (4)
JS :: Array.findIndex – simplifies use of Draft.query (5)