Accepts a Thread link, scrapes the data, then opens the link, waits for it to load, takes a screenshot, extracts text from the screenshot, then prompts you to delete the extra text before replacing the excerpt in the Thread JSON dictionary.

Actions Used

shortcuts-action-icon-wait-to-return.webp
Wait to Return
Pauses execution until you leave the Shortcuts app and return to it. This action might be useful after an action that switches apps, to pause execution until you return to the Shortcuts app.
shortcuts-action-icon-get-dictionary-value.webp
Get Dictionary Value
Gets the value for the specified key in the dictionary passed into the action.
shortcuts-action-icon-set-dictionary-value.webp
Set Dictionary Value
Sets a value in the dictionary passed into the action.
shortcuts-action-icon-get-urls-from-input.webp
Get URLs from Input
Returns any links found in the output from the previous action.
shortcuts-action-icon-combine-text.webp
Combine Text
Joins text together, inserting the separator between each join.
shortcuts-action-icon-run-shortcut.webp
Run Shortcut
Run an shortcut from your shortcut.
shortcuts-action-icon-open-urls.webp
Open URLs
Opens URLs passed into the action in Safari (or the corresponding app if it’s a deep link).
action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.
Extract Text from Image
Uses OCR to extract text from an image.
shortcuts-action-icon-stop-and-output.webp
Stop and Output
Stops execution of the current shortcut, and outputs content. This action is useful when: • Running a shortcut from another shortcut (using the Run Shortcut action). The output will be used as the output of the Run Shortcut action. • Running a shortcut from Quick Actions in Finder on macOS. The output will be saved as a file alongside the files selected in Finder. • Running a shortcut from Services on macOS. The output will replace the selected content, if applicable. • Or, when running a shortcut from another location that supports output, like the command-line or the Shortcuts URL scheme. No more actions will be run after this action.

Extra Details

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

More From This Folder

More From The Library