Use Shortcuts in Spotlight on Mac
Spotlight can find and run shortcuts from your Mac’s keyboard, so you can start a saved workflow without opening the Shortcuts app first. You’ll need a Mac with Spotlight and the Shortcuts app, plus at least one shortcut that is available on that Mac.
What You’ll Need
- A Mac that supports the Shortcuts app and Spotlight. Menu names and available features can vary slightly between macOS versions.
- The Shortcuts app, with a shortcut saved in your library. Create one in Shortcuts or add one that is shared with you.
- Optional: a keyboard shortcut assigned to the shortcut if you want to launch it without searching in Spotlight.
Step-by-Step
- Check that the shortcut is in your library. Open the Shortcuts app and look for the shortcut you want to run. If it is not there, create it or add it to your library first. A shortcut merely viewed or shared with you may not be ready to run until you add it.
- Open Spotlight. Press Command-Space, or select the Spotlight icon in the menu bar if it is shown. If Command-Space opens a different feature, check the keyboard shortcut settings under System Settings > Keyboard > Keyboard Shortcuts and look for Spotlight.
- Search for the shortcut by name. Type its name in the Spotlight search field. Use the distinctive words in the shortcut’s name; searching for a generic term may return files, apps, or web results instead. Check that the result is identified as a shortcut before selecting it.
- Run the result. Select the shortcut result with the mouse or arrow keys, then press Return. Depending on your macOS version and the shortcut’s actions, Spotlight may run it immediately or open a prompt asking for information or permission.
- Respond to any prompts. Enter requested text or choose an option. If macOS asks whether the shortcut can access a file, app, or other information, read the prompt and allow access only if it is appropriate for the task. Some shortcuts may also open another app to finish their work.
- Confirm that it completed. Look for the result specified by the shortcut, such as a notification, a created item, or an opened app. If nothing appears, check the Shortcuts app’s run details or try running the shortcut there to identify which action needs attention.
- Optionally assign a keyboard shortcut. In Shortcuts, open the shortcut’s details or settings and look for the option to add a keyboard shortcut. Choose a key combination that is not already used by a frequent system or app command. After assigning it, use that combination to run the shortcut directly; Spotlight search is not required for that launch.
Common Mistakes
- Expecting Spotlight to create a shortcut. Spotlight searches for shortcuts you already have; build or add the workflow in the Shortcuts app first.
- Searching for the action instead of the name. Spotlight usually finds the shortcut by its saved name. Rename it in Shortcuts to something distinctive and easy to remember.
- Selecting a similarly named file or app. Review the result type before pressing Return. If the right result is hard to spot, use a more specific name.
- Assuming every shortcut runs without input. Shortcuts that ask questions, need a file, or rely on another app may pause for input or permission. That behavior can be part of the workflow.
- Using an already assigned key combination. A shortcut key may conflict with macOS or an app command. Choose another combination and test it in the apps where you commonly work.
Tips
- Give frequently used shortcuts short, descriptive names that are easy to type and distinguish from app or document names.
- Test a new or edited shortcut in the Shortcuts app before relying on it through Spotlight. This makes it easier to see which action is waiting for information or failing.
- Keep the shortcut’s purpose clear. If it changes files, sends information, or performs another consequential action, verify its steps and prompts before running it.
- Use a dedicated keyboard shortcut for a workflow you launch repeatedly. Reserve Spotlight for shortcuts you run occasionally or whose names you may not remember by key combination.
- If you sync shortcuts across Apple devices, confirm that the shortcut is present and works on the Mac you plan to use; actions and permissions can depend on the device and installed apps.
Troubleshooting
- The shortcut does not appear in Spotlight: Confirm it is in the Shortcuts app’s library and search its full, distinctive name. If it still does not show, quit and reopen Shortcuts and Spotlight, then check System Settings > Siri & Spotlight for available Spotlight search categories. Settings can differ by macOS release.
- Command-Space does not open Spotlight: Click the Spotlight menu bar icon, if available. Then check System Settings > Keyboard > Keyboard Shortcuts for the Spotlight keyboard assignment and resolve any conflict.
- The shortcut appears but will not run: Open it in Shortcuts and run it there. Follow any prompts, and check whether an action needs an app, input, or permission. If the shortcut uses an app that is missing or unavailable, install or open the needed app where appropriate, or edit the shortcut to remove that dependency.
- It runs but produces no visible result: Some shortcuts complete quietly or place results somewhere other than the screen. Review the shortcut’s actions to see where output goes, and check its run details in Shortcuts.
- A keyboard shortcut does nothing: Verify the combination is still assigned in the shortcut’s settings and is not intercepted by another app or system command. Try a different combination, or launch the shortcut by name through Spotlight instead.
Frequently Asked Questions
Can I run any shortcut from Spotlight?
Spotlight can find shortcuts available in your Shortcuts library, but a shortcut may still need input, permissions, or another app to complete its actions.
Do I need to open the Shortcuts app every time?
No. Once the shortcut is saved and available, search for its name in Spotlight and select it. Open Shortcuts when you need to create, edit, or inspect it.
Can I run a shortcut with a keyboard combination instead?
Yes, if your macOS version offers the keyboard shortcut option in the shortcut’s details. Assign a non-conflicting combination, then use it to launch the shortcut directly.
Why does Spotlight show a file instead of my shortcut?
The file may have a similar name or match your search more closely. Use the shortcut’s distinctive full name and check the result type before selecting it.
Will a shortcut found on one Apple device work on my Mac?
Not necessarily. It must be available in the Mac’s Shortcuts library, and its actions may depend on apps, permissions, or features that differ across devices.
Can I run a shortcut from Spotlight without approving access?
If an action needs access to information or an app, macOS may ask for permission. Review the request; a shortcut cannot complete that action if the necessary access is denied.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.