Adapting 1Writer actions - source for JavaScript recipes


#1

The (under-recognized, imho) iOS text editor 1Writer has a great collection of JavaScripts for text manipulation etc., which can be adapted for use in Drafts with a few slight changes:

http://1writerapp.com/actiondir

Figured folks might be interested in this resource. It’s a lot less work than translating Python to JavaScript which is what I had been doing with a lot of my Editorial scripts.

The main difference I’ve found is in the Drafts prompt object vs. the ui object in 1Writer


#2

See also


Learn JavaScript with me