Copy shortcut AppleScript

Asks you to pick a shortcut from a folder and places that name in the correct AppleScript for running the shortcut in the background.

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-choose-from-menu.webp
Choose from Menu
Presents a menu and runs different actions based on which menu item was chosen.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-get-my-shortcuts.webp
Get My Shortcuts
Gets the shortcuts stored on this device. For example, you could use this action with the Make Archive action to zip up your shortcuts.
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.
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=Copy%20shortcut%20AppleScript
Open Shortcut deep link
shortcuts://open-shortcut?name=Copy%20shortcut%20AppleScript
AppleScript code
tell application “Shortcuts Events” run shortcut “Copy shortcut AppleScript” end tell

More From This Folder

More From The Library

Search Apple Maps

Asks for your search query, encodes the text, then opens the deep link into Apple Music.

Reference: https: or or developer.apple.com or library or archive or featuredarticles or iPhoneURLScheme_Reference or MapLinks or MapLinks.html

Get Shortcut »

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.