Skip to content

Text

Text manipulation, formatting, regex, and speech.

import Text;

changeCase

Changes the case of the text passed into the action to UPPERCASE, lowercase, or Title Case.

changeCase()

Shortcuts action: is.workflow.actions.text.changecase

combineText

Joins the text together, inserting the separator between each join.

combineText()

Shortcuts action: is.workflow.actions.text.combine

correctSpelling

Autocorrects the spelling of text passed into the action.

correctSpelling()

Shortcuts action: is.workflow.actions.correctspelling

detectLanguage

Detects the language of the text provided as input.

detectLanguage(WFInput: Text) -> Text
ParameterTypeDefault
WFInputText

Shortcuts action: is.workflow.actions.detectlanguage

dictateText

Transcribes what you say aloud into text and passes the result to the next action.

dictateText(WFSpeechLanguage: Text, WFDictateTextStopListening: Text) -> Text
ParameterTypeDefault
WFSpeechLanguageText
WFDictateTextStopListeningText"After Pause"

Shortcuts action: is.workflow.actions.dictatetext

extractTextFromImage

Uses OCR to extract text from an image.

extractTextFromImage(WFImage: Any) -> Text
ParameterTypeDefault
WFImageAny

Shortcuts action: is.workflow.actions.extracttextfromimage

getGroupFromMatchedText

Gets the text that matched a particular capture group or all of the capture groups from the output of a Match Text action.

getGroupFromMatchedText()

Shortcuts action: is.workflow.actions.text.match.getgroup

getNameOfEmoji

Gets the names of emoji passed into the action.

getNameOfEmoji(WFInput: Text) -> Text
ParameterTypeDefault
WFInputText

Shortcuts action: is.workflow.actions.getnameofemoji

makeSpokenAudioFromText

Creates an audio file from text, using text-to-speech.

makeSpokenAudioFromText(WFInput: Text, WFSpeakTextRate: Number, WFSpeakTextPitch: Number, WFSpeakTextLanguage: Text, WFSpeakTextVoice: Text) -> Any
ParameterTypeDefault
WFInputText
WFSpeakTextRateNumber0.5
WFSpeakTextPitchNumber1
WFSpeakTextLanguageText"Default"
WFSpeakTextVoiceText"Default"

Shortcuts action: is.workflow.actions.makespokenaudiofromtext

matchText

matchText()

Shortcuts action: is.workflow.actions.text.match

replaceText

Replaces all occurrences of the given text with other text.

replaceText(WFReplaceTextFind: Text, WFReplaceTextReplace: Text, WFReplaceTextCaseSensitive: Boolean, WFReplaceTextRegularExpression: Boolean, WFInput: Text) -> Text
ParameterTypeDefault
WFReplaceTextFindText
WFReplaceTextReplaceText
WFReplaceTextCaseSensitiveBooleantrue
WFReplaceTextRegularExpressionBooleanfalse
WFInputText

Shortcuts action: is.workflow.actions.text.replace

showDefinition

Shows the definition of the word passed into the action.

showDefinition(Word: Text)
ParameterTypeDefault
WordText

Shortcuts action: is.workflow.actions.showdefinition

speakText

Speaks the inputted text aloud.

speakText(WFSpeakTextWait: Boolean, WFSpeakTextRate: Number, WFSpeakTextPitch: Number, WFSpeakTextLanguage: Text, WFSpeakTextVoice: Text, WFText: Text)
ParameterTypeDefault
WFSpeakTextWaitBooleantrue
WFSpeakTextRateNumber0.5
WFSpeakTextPitchNumber1
WFSpeakTextLanguageText"Default"
WFSpeakTextVoiceText"Default"
WFTextText

Shortcuts action: is.workflow.actions.speaktext

splitText

Separates text passed into the action into a list.

splitText()

Shortcuts action: is.workflow.actions.text.split

text

Passes the specified text to the next action.

text(WFTextActionText: Text) -> Text
ParameterTypeDefault
WFTextActionTextText""

Shortcuts action: is.workflow.actions.gettext

translateText

Translates the text passed into the action into another language.

translateText(WFSelectedFromLanguage: Text, WFSelectedLanguage: Text, WFInputText: Text) -> Text
ParameterTypeDefault
WFSelectedFromLanguageText
WFSelectedLanguageText
WFInputTextText

Shortcuts action: is.workflow.actions.text.translate

trimWhitespace

Removes whitespace and newlines from both ends of the text passed into the action.

trimWhitespace(WFInput: Text) -> Text
ParameterTypeDefault
WFInputText

Shortcuts action: is.workflow.actions.text.trimwhitespace