Copy my Shortcuts folder names

Gets a list of all the titles for your Shortcuts folders. On macOS, uses the Shortcuts Command Line Interface (CLI) to make the request; on iOS, uses a Regular Expression to find the results. Also saves a .txt file of the output.

Actions Used

shortcuts-action-icon-get-clipboard.webp
Get Clipboard
Passes the contents of the clipboard to the next action.
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-save-file.webp
Save File
Save files to iCloud Drive. Turn off “Ask Where to Save” in order to specify a destination path in the Shortcuts folder.
shortcuts-action-icon-combine-text.webp
Combine Text
Joins text together, inserting the separator between each join.
shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
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-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.
action-icon-set-name.webp
Set Name
Sets the name of the item passed as input.
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=Copy%20my%20Shortcuts%20folder%20names
Open Shortcut deep link
shortcuts://open-shortcut?name=Copy%20my%20Shortcuts%20folder%20names
AppleScript code
tell application “Shortcuts Events” run shortcut “Copy my Shortcuts folder names” end tell

More From This Folder

Run a shortcut

Asks you to enter the name of a shortcut, then finds and runs that shortcut. Also uses scripting to check if more than one exists with that name and asks which to run.

Get Shortcut »

Open my Automations

Use this shortcut to see your Personal and Home automations set up on iPhone and iPad.

Works well from the Shortcuts widget or using Siri when you want to set up a new Automation.

Get Shortcut »

More From The Library


Get way deeper into Shortcuts – become a member.