# Editorial Workflows

## Stream with VLC

Stream the currently-selected URL in VLC media player for iOS. If no text is selected, the entire document contents will be passed.

## Dropbox Sync

Manually triggers Editorial’s Dropbox sync action and calls the native Bleep notification sound when the sync has completed.

## Define Selection

Retrieves the definition of the selected term using the native system dictionary, displays native definition dialog, and then speaks the term.

## Share WorkFlow

Opens the system share sheet locally with the contents of the system clipboard, URL-encoded. Designed primarily to AirDrop Editorial Workflows between devices.

## - List

Formats the selected text as an unordered (-) markdown list.

Transforms the selected text into a markdown-formatted hyperlink using the contents of the clipboard.

## Copy Schemed MD Document URL

Copies the url schemed bookmark url of the current file to the clipboard.

## Bold Selection

Wraps the selected text with double (*) asterisks.

## Search Drafts by Selected Tag

Opens a tag-filtered search by the current selection in Drafts via x-callback-url.

## Set Tot Dot

Pick a Dot (1-7) in Tot Pocket to replace with the selected text. If no text is selected, the entire document will be passed.

## Search Workflow Directory

Searches the Editorial Workflow Directory by the selected text in the in-app browser.

## OPEN

Opens the selected URL in a new Safari tab. Best paired with a keyboard shortcut.

## Tweetbot Selection

Opens the selected text in Tweetbot for iOS’ compose window. Upon install, you’ll need to enter your own Twitter @ name as the Account variable in the Tweetbot action. (Best used with a handy keyboard shortcut.)

## Clear Clipboard

Clears the system clipboard by copying nothing.

This action makes a link in Markdown from a selected URL. The link’s text is the Title of the page fetched from the URL. For example: http://dobyfriday.com Becomes: [Do By Friday](http://dobyfriday.com)

## List URLs...

Shows a list of URLs in the current document. Selecting one of the URLs opens it in the browser panel.

## New OmniFocus Project

This Workflow accepts TaskPaper text with «placeholder» tokens and prompts for you to enter final values, then creates a project in OmniFocus 2.14 for iOS using those tokens. For example, given this input: - «project_name» @parallel(false) @due(«due») - This task needs to be done at least 1 week before «project_name» is due @due(«due» -1w) - This task needs to be done at least 2 days before «project_name» is due @due(«due» -2d) You'll be prompted to enter values for «project_name» and «due». If you enter "Phonewave 1.2" and "next Thursday", it will create a new "Phonewave 1.2" project in OmniFocus that is due next Thursday, and has two tasks already filled with due dates of this Thursday and next Tuesday.

## Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

## Convert to PDF

Converts a Markdown or plain text document to PDF. The result is shown in a browser tab.

Replaces the selected word(s) with a Markdown link, pointing to the first Google result. E.g. when you select "Markdown", it is replaced with "[Markdown](http://daringfireball.net/projects/markdown)".

## TP Focus on Tag...

TP Focus on Tag … this workflow is based on the original "Focus on Tag…"* with two improvements for the use with TaskPaper documents. 1. added a step at the beginning to expand the entire document before looking for @tags to find all of them. the original "Focus on Tags…" would only find @tags in the currently filtered text. 2. adjusted the last step to show TaskPaper project headlines (ending with ":") in addition to @tags. this helps to keep an overview on the structure of the document. enjoy! ||| tomas jay @therealtomasjay * what the original "Focus on Tag…" does: After picking a tag from the list of tags in the current document, only tasks that contain this tag are shown, everything else is hidden (folded).

## List URLs...

Shows a list of URLs in the current document. Selecting one of the URLs opens it in the browser panel.

## Visual Find & Replace

This workflow uses the UI module to allow you to do a find & replace throughout your selected text or the entire document if no text is selected. The UI was designed to work on both the iPhone and the iPad. Options include: * Text or Regular Expression * Case-sensitive searches * Preview panel to make sure you're replacing what you want to replace (especially helpful for regex). This was adapted from the built-in Diff with Clipboard workflow. If you have any suggestions, find any bugs, or want to see my other workflows for Editorial, please visit http://sweetnessoffreedom.wordpress.com/projects

## Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

## List URLs...

Shows a list of URLs in the current document. Selecting one of the URLs opens it in the browser panel.

Replaces the selected word(s) with a Markdown link, pointing to the first Google result. E.g. when you select "Markdown", it is replaced with "[Markdown](http://daringfireball.net/projects/markdown)".

Very simple workflow to collapse all the Headings (single #) in the current document. The format to match is that the # must be at the beginning of a line followed by a single space.

## Markdown (Scene)

This workflow creates a markdown document with a file name and Markdown Frontmatter generated from a UI form fields. It creates an out put file name and frontmatter title from fields that are specific to creating a document that a screen writer would use to make a scene document.

## Custom Actions Pack

This is a collection of several unrelated custom actions.

## Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

## Working Copy

Workflow for transferring files from Working Copy to Editorial and back again. When called with input, it will pick the filename from the first line and write the other lines into this file, which lets Working Copy create a new file with predefined content. The filename contains a unique identifier for remembering where it belongs. To avoid overwriting files in Editorial by mistake, the previous contents of files are put in WorkingCopy.bak When this workflow is called without any input the contents of the current file is written back to Working Copy. Change askcommit variable to 0 if you just want to save and not be asked to commit. To install a new version of this workflow delete or rename this one and perform Edit in Editorial from Working Copy.

## Complete and Duplicate at End

This is a TaskPaper workflow to automatically complete a task, entering today’s date as the date of completion, and duplicate the completed task as an incomplete task at the end of the list. It is intended for those following some of Mark Forster’s time management systems.

## FTP_Client

This is a custom UI for Editorial which will present a fully featured FTP client in a popup window over the editor. After downloading you will need to tap the Info button next to the workflow, go to the Edit Workflow page, tap on the action block to expand it, and fill in your FTP login credentials in the variables below. Once you've done that just run it from the workflow menu and you should be set.

## FTP_Client

This is a custom UI for Editorial which will present a fully featured FTP client in a popup window over the editor. After downloading you will need to tap the Info button next to the workflow, go to the Edit Workflow page, tap on the action block to expand it, and fill in your FTP login credentials in the variables below. Once you've done that just run it from the workflow menu and you should be set.

## Diff with Clipboard

Shows a diff that compares the selected document with text in the clipboard. The diff is shown in the Preview panel.

## Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

Modified version of Clean Up Completed Tasks workflow. Intended to be run every now and then on a Main.taskpaper file to empty the archive by filtering lines tagged as @done and prepending them to an Archive.taskpaper. The lack of disclosure triangles in Editorial means having to look at that eventually unwieldy archive, but I don't always want to just delete completed tasks. Thanks to @scottzero for the original workflow this is based on. Note: all I did was change the filenames (and paths) in the proper actions and then change the line filtering to @done.

## Markdown(Note)

This is a work flow that creates a markdown file with a name and front matter based on date and time.

## p

Put text selected inside a

HTML tag.

## Markdown(Scene)

This workflow creates a markdown document for scene based content that aids in the creation of a story. The workflow creates a file name and front matter taken from a custom UI that grabs input from the following fields: Scene, Setting, Location and Enviroment titles. It also populates the document with the following story history headers: Previously, Objective, Obstacle and Up Next.

## Create Evernote String

This workflow presents the user with a list of his or her Enernote notebooks and another list of his or her tags and, based on selections from the list, builds a string that the user can paste into the subject line of an email addressed to the user's Evernote account so that Enernote will assign a notebook and tags to the incoming note. Before it can be used, user must paste in a developer token in the locations marked in the python segments. Workflow assembled by Jay Fogleman (fogleman2@gmail.com) from many pieces produced by others.

## Markdown(OpCallNotes)

This is a workflow that creates a Markdown file with a file name and front matter based date ina call note format.

## Markdown(Journal)

This is a workflow that creates a Markdown file with a file name and front matter that is based on the date the file was created.

## Markdown(Note)

This is a work flow that creates a markdown file with a name and front matter based on date and time.

## 2 Clow Cards

Picks 2 random Clow cards.

## Email without BCC

Sends a copy of the same email to multiple recipients individually, without BCC What this is good for: BCC is too often possible to see you are Bcc'd. This workflow allows automated sending of the same email to multiple addresses. How to use: Install the template http://www.editorial-workflows.com/workflow/5831758394163200/_RPQRLdd0FA Then fill the fields however you wish Features: I've improved typos + mistakes filters. Any extra commas, newlines, and spaces between recipients are OK. The workflow scans email addresses until one which is invalid is found. Valid email addresses are in the form X@X.X Any extra spaces and newlines in the subject section before any text are ignored

## Compose Email

A template to compose emails. Goes with http://www.editorial-workflows.com/workflow/5891835859828736/fXGW4koHTGs (Email without BCC)

## Email without BCC

Sends a copy of the same email to multiple recipients individually, without BCC What this is good for: BCC is too often possible to see you are Bcc'd. This workflow allows automated sending of the same email to multiple addresses. How to use: Install the template http://www.editorial-workflows.com/workflow/5831758394163200/_RPQRLdd0FA Then fill the fields however you wish Features: I've improved typos + mistakes filters. Any extra commas, newlines, and spaces between recipients are OK. The workflow scans email addresses until one which is invalid is found. Valid email addresses are in the form X@X.X Any extra spaces and newlines in the subject section before any text are ignored

## Preserve Line Breaks (regex)

Inserts two spaces before each line break, but only if it’s not *already* preceded by two spaces. (The other version of this didn’t work for me.)

## List URLs...

Shows a list of URLs in the current document. Selecting one of the URLs opens it in the browser panel.

## Select ->

Select forward one word at a time

## Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

## Print...

Prints the current document as plain text or HTML (converted from Markdown).

## DictionaryGVector_words

Dictionary access and translation GUI. Dictionary based on low level nosql database GVector. For key-value search used Phyton map. Dictionary can mange few Gb up to 1mln records.

## Convert to Unordered List

Converts the selected lines to an unordered (bulleted) list.

## Get Contact

I modified @jollipixel’s “get contacts” workflow to copy outputted name & contact info to clipboard, to paste where needed. Original description by jollipixel: Get Contact by @jollipixel It's meant to be used as a Subworkflow. Prompts for a name (could be partial name) and returns '' from your Contacts as a string. Will present a list if multiple matches are found.

Finds all web URLs in the current document and generates a list of Markdown links, using the titles of the web pages (as it would be shown in a browser).

## Filter by @due

Searches current folder looking for @due, @start, @started tags with date attributes less than or equal to today. Found results are displayed with clickable links. Dates are of the format YYYY-MM-DD and do not include times. Note, I adapted a good deal of original global search code from Ole Zorn. ::: Macdrifter ::: v.0.9

## Working Copy

Workflow for transferring files from Working Copy to Editorial and back again. When called with input, it will pick the filename from the first line and write the other lines into this file, which lets Working Copy create a new file with predefined content. The filename contains a unique identifier for remembering where it belongs. To avoid overwriting files in Editorial by mistake, the previous contents of files are put in WorkingCopy.bak When this workflow is called without any input the contents of the current file is written back to Working Copy. Change askcommit variable to 0 if you just want to save and not be asked to commit. To install a new version of this workflow delete or rename this one and perform Edit in Editorial from Working Copy.

Takes a URL you’ve previously copied to Clipboard and creates an HTML link around the selected text.

## Preserve Line Breaks

Preserve Line Breaks was inspired by Brett Terpstra's Mac Service of the same name. To preserve a line break in iOS, markdown syntax requires that you type three spaces. But in iOS, typing two spaces generates a period, which drives me nuts. This workflow takes the text of a document, adds three spaces to the end of each line as required by Markdown, and the replaces the original text with the proper Markdown syntax.

## Diff with Clipboard

Shows a diff that compares the selected document with text in the clipboard. The diff is shown in the Preview panel.

## Working Copy

Workflow for transferring files from Working Copy to Editorial and back again. When called with input, it will pick the filename from the first line and write the other lines into this file, which lets Working Copy create a new file with predefined content. The filename contains a unique identifier for remembering where it belongs. To avoid overwriting files in Editorial by mistake, the previous contents of files are put in WorkingCopy.bak When this workflow is called without any input the contents of the current file is written back to Working Copy. Change askcommit variable to 0 if you just want to save and not be asked to commit. To install a new version of this workflow delete or rename this one and perform Edit in Editorial from Working Copy.

## Archive @done

Moves @done tasks in a TaskPaper document to the "Archive" project (created if necessary). If a task is in a project, a @project(name) tag is appended automatically. Note that this ignores indentation and doesn't handle sub-projects though.

## Project to Omnifocus (simple)

Modified from omnigroup's New Omnifocus Project: http://people.omnigroup.com/kc/editorial-template-project-workflow.html Create new simple project without ask placeholder. 修改自 Omnigroup 的 New Omnifocus Project，取消了其中的 Placeholder，所以可以直接发送项目到 Omnifocus 而不会提示你没有给变量赋值。

## Detectar Textos Bíblicos

Detectar Textos Bíblicos

## Editorial Backup

Fixed an issue with "ZIP does not support timestamps before 1980" Enjoy! Saves or restores a backup of all Editorial workflows, snippets, bookmarks, and local documents as a zip file in Dropbox (this requires the Dropbox account to be linked). Please note: If you want to restore a backup on a different device, you first have to download the backup file (just tap on it in the document list). This is required because Editorial doesn't sync zip files by default. Restoring a backup will *overwrite* all existing workflows, snippets, and bookmarks, so it's possible that you'll lose data this way. The best way to avoid any data loss is to create a backup before restoring anything.

## Roll (OL)

Follows Sidekick dice specification format, but only supports items needed for Open Legend -- no modifiers, exploding dice, keeping high or low rolls pre-explosion.

## Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

## OF Templates

This Workflow accepts TaskPaper text with «placeholder» tokens and prompts for you to enter final values, then creates a project in OmniFocus 2.14 for iOS using those tokens. For example, given this input: - «project_name» @parallel(false) @due(«due») - This task needs to be done at least 1 week before «project_name» is due @due(«due» -1w) - This task needs to be done at least 2 days before «project_name» is due @due(«due» -2d) You'll be prompted to enter values for «project_name» and «due». If you enter "Phonewave 1.2" and "next Thursday", it will create a new "Phonewave 1.2" project in OmniFocus that is due next Thursday, and has two tasks already filled with due dates of this Thursday and next Tuesday.

## Scrape Glassdoor

scrapes 2 pages of Glassdoor website

## Paperify Preview

Preliminary work. Renders a markdown document similarly to what it would look like when converted with Paperify web. Includes custom Mathjax commands. The LaTex text is rendered via the MathJax javascript library, so an internet connection is required at the moment for the workflow to work properly.

## Focus on Tag...

After picking a tag from the list of tags in the current document, only tasks that contain this tag are shown, everything else is hidden (folded).

## Get Quote

Type a few words from a quote and an author's last name to pull the quote from GoodReads. If no text is selected, it will use the current line. If there are no results on GoodReads, it will run a Google Search on the In-App Browser. I like to use the workflow inline by using the abbreviation "gqt". You can also select text and send it to the workflow using a shortcut key via a keyboard or manually tapping it.

## New OmniFocus Project

This Workflow accepts TaskPaper text with «placeholder» tokens and prompts for you to enter final values, then creates a project in OmniFocus 2.14 for iOS using those tokens. For example, given this input: - «project_name» @parallel(false) @due(«due») - This task needs to be done at least 1 week before «project_name» is due @due(«due» -1w) - This task needs to be done at least 2 days before «project_name» is due @due(«due» -2d) You'll be prompted to enter values for «project_name» and «due». If you enter "Phonewave 1.2" and "next Thursday", it will create a new "Phonewave 1.2" project in OmniFocus that is due next Thursday, and has two tasks already filled with due dates of this Thursday and next Tuesday.

## Process Observer

Strip everything but the content of the Wrestling Observer Newsletter from the new website.

## Custom Actions Pack

This is a collection of several unrelated custom actions.

## List URLs...

Modified version of Clean Up Completed Tasks workflow. Intended to be run every now and then on a Main.taskpaper file to empty the archive by filtering lines tagged as @done and prepending them to an Archive.taskpaper. The lack of disclosure triangles in Editorial means having to look at that eventually unwieldy archive, but I don't always want to just delete completed tasks. Thanks to @scottzero for the original workflow this is based on. Note: all I did was change the filenames (and paths) in the proper actions and then change the line filtering to @done.

## Editorial Backup

Saves or restores a backup of all Editorial workflows, snippets, bookmarks, and local documents as a zip file in Dropbox (this requires the Dropbox account to be linked). Please note: If you want to restore a backup on a different device, you first have to download the backup file (just tap on it in the document list). This is required because Editorial doesn't sync zip files by default. Restoring a backup will *overwrite* all existing workflows, snippets, and bookmarks, so it's possible that you'll lose data this way. The best way to avoid any data loss is to create a backup before restoring anything.

## List URLs...

Shows a list of URLs in the current document. Selecting one of the URLs opens it in the browser panel.

## Paste from iBooks

Paste text from iBooks, removes annoying Excerpt From message.

## Insert current date

Insert current date

## Move cursor to the end of document

Move cursor to the end of document

## Insert current time

Insert current time

## Insert Image...

Saves an image from the camera roll as a jpeg file in the relatively 'resources' directory, and inserts a markdown image reference,using current time. you can change the label 'yypE' into anything you want.

## Working Copy

Workflow for transferring files from Working Copy to Editorial and back again. When called with input, it will pick the filename from the first line and write the other lines into this file, which lets Working Copy create a new file with predefined content. The filename contains a unique identifier for remembering where it belongs. To avoid overwriting files in Editorial by mistake, the previous contents of files are put in WorkingCopy.bak When this workflow is called without any input the contents of the current file is written back to Working Copy. Change askcommit variable to 0 if you just want to save and not be asked to commit. To install a new version of this workflow delete or rename this one and perform Edit in Editorial from Working Copy.

## Paste as...

Pastes the contents of the clipboard as a Markdown block quote, code block, or regular paragraph.

## back to drafts

Paired with the connected Drafts Actions, this workflow allows you to send a Draft here for editing, then send edited text back to the original Draft, overwriting it. Editorial Roundtrip: https://actions.getdrafts.com/a/1Q9 Editorial Return: https://actions.getdrafts.com/a/1Q0