Really seems like javascript is becoming the best language for automation and scripting on iOS: between @agiletortoise’s Drafts, @omni’s OmniJS, and even TextExpander’s support, a little bit of knowledge can help you really fly.