Editorial Workflows

Prizmo To Editorial 3

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 opens Prizmo in scan mode, OCRs text and puts it on the clipboard and then pastes the text at the caret position in the editor or just returns focus to Editorial with the OCR'd text in the clipboard, depending on which option the user chooses. A third alternative has been added where user can choose to place OCR text in a new timestamped txt file in either Dropbox or local storage.

Comments: Comment Feed (RSS)

anonymous — 21 Aug 2014
I can't seem to get Editorial to do anything after returning from Prizmo. It just scans, copies and returns thats it.

+ Add Comment

Workflow Preview
Open x-callback URL ?
URL
prizmo://x-callback-url/captureText?language=en&cropMode=manual&destination=pasteboard
x-success
editorial://workflow-callback
Output
  • First Parameter of x-success URL
  • Raw x-success URL
Show Alert ?
Title
Options
Message
Would you like to paste this text or keep it on the clipboard?
Button 1
Paste at caret
Output Value
1
Button 2
Keep in clipboard
Output Value
0
Button 3
Paste in new file
Output Value
2
Show Cancel Button
ON
Set Variable ?
Variable Name
paste_or_keep
Value
Input
If… ?
Run the block if
paste_or_keep
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
1
Replace Selected Text ?
Replacement Text
Clipboard
…End If
If… ?
Run the block if
paste_or_keep
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
2
Show Alert ?
Title
Choose destination.
Message
Local or Dropbox?
Button 1
Local
Output Value
0
Button 2
Dropbox
Output Value
1
Button 3
(don't show)
Output Value
Show Cancel Button
ON
…End If
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
0
Generate Text ?
Text
Year: 2001 Month: 01.Day: 01-Hour: 01 (24h):Minute: 01 Prizmo OCR.txt
Set Variable ?
Variable Name
filename
Value
Input
Set File Contents ?
File Name
%var:filename
In Dropbox
OFF
New Text
Clipboard
If File Does Not Exist
  • Create
  • Stop Workflow
…End If
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Generate Text ?
Text
Year: 2001 Month: 01.Day: 01-Hour: 01 (24h):Minute: 01 Prizmo OCR.txt
Set Variable ?
Variable Name
filename
Value
Input
Set File Contents ?
File Name
%var:filename
In Dropbox
ON
New Text
Clipboard
If File Does Not Exist
  • Create
  • Stop Workflow
…End If