Editorial Workflows

Change Case in TextTool

unlisted 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: Change case for the current text selection using TextTool for iOS.

Shared by: viticci

Comments: Comment Feed (RSS)

Kevin — 14 Jun 2015
?

+ Add Comment

Workflow Preview
Set Variable ?
Variable Name
base
Value
texttool://
Sub-Workflow ?
Workflow
Can Stop Main Workflow
OFF
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Stop
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
ON
Message
App Not Installed
…End If
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Go
If… ?
Run the block if
Selected Text
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
ON
Message
No Selected Text
…End If
Show Alert ?
Title
Change Case
Message
Input
Button 1
UPPER CASE
Output Value
upper
Button 2
Sentence case
Output Value
sentence
Button 3
Title Case
Output Value
word
Show Cancel Button
ON
Open x-callback URL ?
URL
texttool://x-callback-url/transform?text=Selected Text&method=case&case=Input
x-success
editorial://workflow-callback?output=[[output]]
Output
  • First Parameter of x-success URL
  • Raw x-success URL
Set Variable ?
Variable Name
case
Value
Input
Show Alert ?
Title
Changed Case
Message
case
Button 1
Copy
Output Value
copy
Button 2
Replace
Output Value
replace
Button 3
(don't show)
Output Value
Show Cancel Button
ON
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
copy
Generate Text ?
Text
case
Set Clipboard ?
Show Alert ?
Title
Message
Clipboard
Button 1
OK
Output Value
Input
Button 2
(don't show)
Output Value
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
replace
Replace Selected Text ?
Replacement Text
case
…End If
…End If