Get word count

Gets text from the Share sheet or clipboard and returns the total word count.

Actions Used

shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-get-text-from-input.webp
Get Text from Input
Returns text from the previous action’s output. For example, this action can get the name of a photo or song, or the text of a web page.
shortcuts-action-icon-count.webp
Count
Counts the number of items, characters, words, sentences, or lines passed as input. Note (from Apple, for real) This is just like the Count in Sesame Street, but instead of a vampire, it’s a Shortcuts action.
shortcuts-action-icon-choose-from-list.webp
Choose from List
Presents a menu of the items passed as input to the action and outputs the user’s selection. Prompt The instruction provided when the list is presented. Select Multiple When enabled, multiple items may be chosen from the list.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.
shortcuts-action-icon-find-notes.webp
Find Notes
Searches for the notes in your library that match the given criteria. Sort by Optionally, what to sort the notes by. Order The order to sort the notes in. Limit Whether or not to limit the number of notes retrieved.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Get%20word%20count
Open Shortcut deep link
shortcuts://open-shortcut?name=Get%20word%20count
AppleScript code
tell application “Shortcuts Events” run shortcut “Get word count” end tell

More From This Folder

More From The Library


Get way deeper into Shortcuts – become a member.