Profiles Switcher › Blog

How to Run Shortcuts Automatically on Mac

By the Profiles Switcher team. Published .

To run a shortcut automatically on a Mac, give it a trigger. On macOS 26 Tahoe you can create a personal automation in the Shortcuts app for events such as joining a Wi-Fi network. With Profiles Switcher, any of 19 context triggers can run any shortcut, on macOS 13 or later, and a profile can wait until several conditions are true.

Two conditions at once: headphones plugged in and an evening time window, then two shortcuts.

Set this up with Profiles Switcher on the Mac App Store, or start from a ready-made recipe.

What are the ways to run a shortcut automatically on a Mac?

There are three, and they combine well:

MethodWhat starts the shortcutGood for
Shortcuts automations (macOS 26)One event: time, alarm, email, message, file or folder change, drive, Wi-Fi, Bluetooth, display, app, battery, charger, FocusA single task on a single event
A trigger app such as Profiles SwitcherContext: place, network, devices, power, time, appearance, time zone, alone or combinedShortcuts that belong to a situation, often with other settings
Keyboard shortcuts and the menu barYouRunning a shortcut by hand, quickly

The rest of this guide covers the first two.

How do Shortcuts automations work on macOS 26?

Open the Shortcuts app, choose Automation in the sidebar and create a new automation. You pick one trigger, choose whether it runs immediately or asks first, and pick or build the shortcut. MacMost’s introduction walks through every trigger type, and MacStories’ Tahoe review covers what changed for Mac automators.

How do you run shortcuts from context triggers?

In Profiles Switcher, a profile describes a situation: a place, a device, a time. Add Run a Shortcut to a profile and the shortcut runs every time that situation begins:

  1. Build the shortcut and give it a clear name.
  2. Create a profile and add the rules that describe the situation.
  3. Add Run a Shortcut and type the shortcut’s exact name. Capital letters count.
  4. Add built-in actions too if you like; they run together with the shortcut.

Any of the 19 triggers can start a shortcut: Wi-Fi, a location, an IP range, a network service, Ethernet, a time zone, an external display, a Bluetooth or USB device, a mounted volume, the audio output, the headphone jack, the lid, the charger, the battery level, Low Power Mode, the time of day, the day of the week, and Dark or Light appearance. It works on every Mac with macOS 13 or later.

How do you run a shortcut only when several conditions are true?

Move the conditions out of the shortcut and into the trigger. A profile set to All are true switches on only when every rule matches, so the shortcut in it only runs then:

This keeps shortcuts short. Instead of nested If blocks that check the network, the day and the time, the shortcut simply does its job, and the profile decides when.

How do you write a shortcut that runs unattended?

For ready-made examples, see Run your Shortcuts automatically and the recipes below.

Frequently asked questions

Can Shortcuts run automatically on a Mac?

Yes. macOS 26 Tahoe added personal automations to the Shortcuts app, which run a shortcut when an event happens, such as a time of day, a Wi-Fi network, a Bluetooth device, a display or the charger. Apps such as Profiles Switcher can also run shortcuts from their own triggers.

How do I make a shortcut run only when two things are true?

Put the conditions in the trigger instead of the shortcut. In Profiles Switcher, set a profile to All are true, add both rules, such as the office Wi-Fi and a weekday, and add Run a Shortcut. The shortcut runs only when both match.

Why does my automatic shortcut stop and wait?

Actions that ask a question, show a menu or need confirmation pause the shortcut until you respond. Shortcuts meant to run unattended should avoid them.

Ready-made automations for this

shortcutshow-to

Let your Mac switch its own setup

Profiles Switcher is a menu bar app for Mac (macOS 13 or later, Apple Silicon and Intel) that switches your Mac's setup automatically. You build profiles from 19 triggers, such as the Wi-Fi network you join, a place, headphones or a display, and 18 actions, including running any of your Shortcuts. Everything runs on your Mac; it is available on the Mac App Store.

Download on the Mac App Store