Omni Automation and the Drafts App

Drafts is a text editing app from Agile Tortoise. It is currently available on iOS App Store and the macOS App Store.

Since the Drafts application offers integrated URL support, many of its functions, such as creating a new document, can be triggered from other applications like those supporting Omni Automation: OmniGraffle and OmniOutliner.

Here are links to automation documentation for the Drafts app:

DO THIS ►

Install the example Drafts actions from the Drafts Action Directory

And here are examples of using Omni Automation with the Drafts app. They are designed using the JavaScript Action Templates provided here.

NOTE: because of similarities in the design and implementation of their scripting implementations, some of these examples also work with the 1Writer app, and are marked accordingly.

New Draft with Text From Graphic
OmniGraffle → Drafts
Synopsis: Create a new Drafts document containing text copied from the selected OmniGraffle graphic (solid).
Draft Contents to Selected Graphic
Drafts → OmniGraffle
1Writer → OmniGraffle
Synopsis: A Drafts action that transfers the text of the draft document to the selected OmniGraffle graphic.
New Drafts Document with Text from Outline
OmniOutliner → Drafts
Synopsis: This Omni Automation script extracts the text of the outline rows to create a new paragraph-delimited document in Drafts.
Export Outline to New Draft
OmniOutliner → Drafts
Synopsis: Create a new Draft document using the contents of the OmniOutliner outline exported as plain-text format.
Process Graphic Text
OmniGraffle → Drafts → OmniGraffle
Synopsis: An example of “round-tripping” data, this workflow copies the text from the selected OmniGraffle graphic to a new Drafts document, and processes the transfered text with a Drafts action that ends by replacing the text in the graphic with the processed text.
Append Draft Paragraphs to Outline as Rows
Drafts → OmniOutliner
1Writer → OmniOutliner
Synopsis: The individual paragraphs of the Drafts document are appended to the current OmniOutliner outline as rows.
Prepend Draft Paragraphs to Outline as Rows
Drafts → OmniOutliner
1Writer → OmniOutliner
Synopsis: The individual paragraphs of the Drafts document are prepended to the current OmniOutliner outline as rows.
New Outline from Draft
Drafts → OmniOutliner
1Writer → OmniOutliner
Synopsis: The tab-indented paragraphs of the Drafts document are appended to the current OmniOutliner outline as a rows, using the tab indents to determine a row’s position in the outline hierarchy.
The Business Letter
Workflow → OmniGraffle → Drafts → OmniGraffle → Mail
Synopsis: A complete end-to-end workflow where the Workflow app creates a new business letter addressed to a chosen person from your address book, edited using dictation in Drafts, and signed and sent via email as a PDF document from within OmniGraffle.
UNDER CONSTRUCTION

This webpage is in the process of being developed. Any content may change and may not be accurate or complete at this time.

DISCLAIMER