Editorial Workflows

Index

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: This workflow indexes every word in the current document and presents it alphabetically in a popover list.

Every occurrence of the selected item will be selected in the editor, and the number of matches will be spoken.

Shared by: Tutorial Doctor

Comments: Comment Feed (RSS)

oldmankit — 15 Sep 2014
This is a sweet workflow. Really helpful for the book I am writing. Thank you very very much!
Tutorial Doctor — 15 Sep 2014
Glad it's useful for you. This workflow will be followed by a grammar workflow using the Linguistitagger module, once I can figure out how it works.

+ Add Comment

Workflow Preview
i ?
Expression
0
On Error
  • Stop Workflow
  • Output "ERROR"
Result
  • Pass to Next Action
  • Store in Variable:
i
Index ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Document Text ?
Folded Text
  • Include
  • Replace with:
Find Words ?
Repeat with
  • Every Line
  • Every Match of Regular Expression:
\w+
Match Group
0 (entire match)
Reverse
OFF
Generate Text ?
Text
%repeat:text
…End Repeat
Sort Lines ?
Sort Order
  • Ascending (A → Z)
  • Descending (Z → A)
Remove Duplicate Lines ?
Select from List ?
Title
Index
List (Lines)
Input
Multiple Selection
OFF
Show in Popover
ON
Store Selected ?
Variable Name
selected
Value
Input
Play Sound Effect ?
Effect
Coin_2
Wait until Finished
OFF
…End If
Highlight Occurrences ?
Search for
%var:Input
Regular Expression
OFF
Select First Result
OFF
Count Occurances ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Document Text ?
Folded Text
  • Include
  • Replace with:
Occurances of Selected ?
Repeat with
  • Every Line
  • Every Match of Regular Expression:
selected
Match Group
0 (entire match)
Reverse
OFF
Increment ?
Expression
i + 1
On Error
  • Stop Workflow
  • Output "ERROR"
Result
  • Pass to Next Action
  • Store in Variable:
i
…End Repeat
Speak Text ?
Text
i matches found.
Language
  • System Language
  • Guess Text Language
Wait until Finished
ON
Rate
  • Very Slow
  • Slow
  • Normal
  • Faster
  • Very Fast
…End If