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

Book Mode

Opens the Books app, then prompts you to confirm setting orientation lock so the screen doesn’t rotate. When run from Mac, opens the app in fullscreen.

Get Shortcut »

More From The Library

Open RTT preferences

Opens the deep link into Settings > Accessibility > RTT to let you adjust “Real-time Text,” described by Apple as “a service offering more reliability, better text support, and the ability to speak and hear during a call” with Software and Hardware options.

Get Shortcut »


Get way deeper into Shortcuts – become a member.