Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Assign Keyboard Shortcuts to Almost Anything on Mac

· 5 min read · Home Automation

In this article
  1. What the Shortcuts App Actually Does
  2. How to Assign a Keyboard Shortcut
  3. What You Can and Can’t Shortcut
  4. Choosing the Right Shortcut Combination
  5. Common Problems and Fixes
  6. Shortcuts vs. Other Free Tools
  7. Cost and Safety
  8. Frequently Asked Questions

Yes, this free tool—macOS’s built-in Shortcuts app—can assign a keyboard shortcut to almost any action on your Mac, including running scripts, opening files, controlling apps, and more. While it won’t override every single app’s own shortcuts, it gives you a free, powerful way to trigger nearly any menu command or custom automation with a key combination you choose.

What the Shortcuts App Actually Does

The Shortcuts app has been included free with every Mac since macOS Monterey (2021). It lets you build “shortcuts”—small workflows that can perform one action or a long series of actions. You can then assign a keyboard shortcut to any shortcut you create. That means you can, for example:

  • Press ⌘⇧M to mute your microphone system-wide.
  • Press ⌃⌥V to paste plain text (stripping formatting).
  • Press ⌘⇧S to open a specific folder in Finder.
  • Press ⌥⌘N to start a timed break using a built-in timer action.

The shortcut runs in the background, and you can even have it interact with other apps using the “Open App” or “Run Shell Script” actions.

How to Assign a Keyboard Shortcut

Setting it up takes less than a minute once you have a shortcut built:

  1. Open the Shortcuts app (from Applications or Spotlight).
  2. Click the shortcut you want to modify, or create a new one with the + button.
  3. Double-click the shortcut’s name at the top, or right-click and choose Details.
  4. In the details panel, click Add Keyboard Shortcut and press the combination you want (e.g., ⌥⌘P).
  5. Close the panel. The shortcut is now active globally.

If the shortcut doesn’t trigger, check that the key combination isn’t already used by the active app or by macOS itself. You can also change it anytime from the same details panel.

What You Can and Can’t Shortcut

The Shortcuts app can trigger anything that appears in the “Actions” library—hundreds of built-in actions covering files, text, web, system, and scripting. You can also run a shell script, so essentially any command-line tool becomes available. However, there are limits:

  • Menu commands in third-party apps are not directly accessible unless the app exposes them to Shortcuts (many do via “Open App” or “Run AppleScript”).
  • System-wide shortcuts may conflict with existing shortcuts in specific apps. The app you’re using takes priority when it has its own shortcut for that key combo.
  • Some actions require permission (like accessing Files or sending messages) – you’ll be prompted the first time.

For clicking menu items that aren’t exposed, you can use the “Run AppleScript” action to send keystrokes or click menu items directly, but that’s more advanced.

Choosing the Right Shortcut Combination

Picking a good key combo matters because you’ll use it often. Here’s what works well:

  • Use ⌥ (Option) and ⌃ (Control) modifiers—they’re less commonly used by apps than ⌘.
  • Avoid combos that are already system-wide, like ⌘Space (Spotlight) or ⌃↑ (Mission Control).
  • Try to use a mnemonic letter, like ⌥⌘M for mute.
  • Keep it to two or three keys—four is hard to press quickly.

You can check for conflicts by trying the shortcut in the app you use most; if nothing happens, it’s usually safe.

Common Problems and Fixes

If your shortcut doesn’t work, here are the typical culprits:

  • Conflict with another shortcut – Try a different combination, or check System Settings > Keyboard > Keyboard Shortcuts to see if macOS uses it.
  • Shortcut is disabled – In the Shortcuts app, make sure the shortcut isn’t turned off (grayed out).
  • App not allowing it – Some apps (like games or full-screen apps) may ignore global shortcuts. Try running the shortcut manually from the menu bar to test.
  • Permission needed – Go to System Settings > Privacy & Security and grant the Shortcuts app access to the required services (like Files or Calendar).

If the shortcut works manually but not via keyboard, try deleting and re-adding the shortcut—this sometimes resets the key assignment.

Shortcuts vs. Other Free Tools

You might wonder how this compares to other free options:

  • Keyboard Maestro – Paid, but far more powerful for complex macros. Shortcuts is free and simpler.
  • BetterTouchTool – Paid, great for trackpad gestures. Shortcuts doesn’t do gestures.
  • AppleScript/Shell scripts – Free, but you’d have to build your own launcher. Shortcuts gives you a GUI and a shortcut key for free.

For most people, Shortcuts is the best free option because it’s built-in, doesn’t require coding, and can still run scripts when needed.

Cost and Safety

The Shortcuts app is completely free—it comes with macOS. There are no hidden costs or in-app purchases. Regarding safety, shortcuts you create are stored locally on your Mac. However, be cautious when downloading shortcuts from the internet; they can run scripts that access your files. Only use shortcuts from trusted sources, and review the actions before adding them. Apple does not review user-created shortcuts, so you are responsible for what you run.

Frequently Asked Questions

Can I assign a shortcut to any menu item in any app?
Not directly. Shortcuts can only run actions that are exposed to the Shortcuts system. For menu items that aren’t exposed, you can use the “Run AppleScript” action to click them, but that requires some scripting knowledge.

Will my shortcut work in all apps?
Yes, as long as the shortcut is set to run “quickly” and the app doesn’t override the key combination. Some apps (like video games) may capture all keyboard input and block global shortcuts.

Can I use the same shortcut for two different shortcuts?
No, each shortcut must have a unique key combination. If you assign the same one, the older one will be disabled until you change it.

Does this work on older Macs?
The Shortcuts app requires macOS Monterey (12.0) or later. If you have an older macOS, you can use Automator, but it doesn’t have built-in keyboard shortcut assignment—you’d need a third-party tool.

Can I trigger a shortcut with a function key (F1, F2, etc.)?
Yes, you can use function keys as part of the combination, but they may be used by the system (like brightness). You can change that in System Settings > Keyboard.

Is there a way to make a shortcut run when I press a key without any modifier?
No, macOS requires at least one modifier key (⌘, ⌥, ⌃, or ⇧) for global shortcuts. Single-key shortcuts are reserved for the system and app-specific use.