Clean up book quote

Takes highlighted text shared from Books and scrapes out the extra metadata.

Actions Used

shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
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-group-from-matched-text.webp
Get Group from Matched Text
Gets the text that matched a particular capture group or all of the capture groups from the output of a Match Text action.
shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
shortcuts-action-icon-match-text.webp
Match Text
Searches text passed into the action for matches to a regular expression.
shortcuts-action-icon-show-notification.webp
Show Notification
Displays a local notification.
action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Clean%20up%20book%20quote
Open Shortcut deep link
shortcuts://open-shortcut?name=Clean%20up%20book%20quote
AppleScript code
tell application “Shortcuts Events” run shortcut “Clean up book quote” end tell

More From This Folder

More From The Library

Screencap

Takes a screenshot, reformat the name to the style used on macOS, then saves it to /Shortcuts/Screenshots/ in iCloud Drive.

Get Shortcut »


Get way deeper into Shortcuts – become a member.