Skip to main content
coreydaley.dev

I timed Shortcuts automations on the Mac: fast, quiet, and one dud

I opened Calculator from Terminal, and a second later a line appeared in a log file: a shortcut had run on its own because Calculator opened. I did it five times, twice with the Shortcuts app quit, and it worked every time.

Since macOS 26, a shortcut can start by itself when an app opens, files land in a folder, a time of day arrives, and more. On macOS 27 the trigger is the first step of the shortcut. I’d used a folder trigger before, but never measured how reliable these are, so I timed four of them on macOS 27.2. The results are a new page in the Mac automation guide, Automations.

The numbers

Each test shortcut did one thing: append the current time to a text file. I set off the trigger and compared the time I caused the event with the time in the file.

TriggerFiredDelay
App (“When Calculator is opened”)5 of 5about 1 second
Folder (one file added)4 of 42–3 seconds
Time of Day (8:04 PM)1 of 12 seconds after the minute
External Drive (a mounted disk image)0 of 2—

The Shortcuts app doesn’t need to be open

With Shortcuts quit, the App trigger still fired twice out of two and the Folder trigger once out of one, as fast as before. That’s what you’d want from an automation, but it also means you may not notice it ran: with Notify off, the default, the App automation showed no notification at all. Anything an automation does to your files, it does unannounced.

Five files, one run

I dropped five files into the watched folder at once. The shortcut ran once, not five times. That’s sensible, but it matters if you build on it: a Folder automation should expect a list of files, not one.

A disk image isn’t an external drive

The External Drive trigger, set to Any External Drive, didn’t fire when I mounted a disk image, whether or not the image showed in Finder. I didn’t have a physical drive to try, so all I can say is that a disk image doesn’t count.

Scripts are off until you turn them on

Before adding any trigger, I checked my logging shortcut from Terminal with a Run Shell Script action, and it failed: “your Shortcuts security settings don’t allow you to run scripting actions.” Shortcuts’ Allow Running Scripts setting is off on this Mac, and its description lists the actions it unlocks: Run AppleScript, Run Shell Script and three more. I switched to non-script actions rather than turn it on. That’s a sensible default: an automation runs without asking, so a script inside one deserves a second look before you allow it.

What I didn’t test

Thirteen of the seventeen triggers: Email, Message, Alarm, File, Wi-Fi, Bluetooth, Stage Manager, Display, Screenshot, Notification, Battery Level, Charger and Do Not Disturb. Nor a physical drive, Notify turned on, or what happens while the Mac is asleep.

Where to find them

On macOS 27 the triggers are in the Automation category of the action list, seventeen of them in eight groups, from Time of Day to Do Not Disturb. Double-click one and it lands at the top of the shortcut. The Automation section of the sidebar lists every automation with a switch, which is the easiest way to turn one off. The Automations page has screenshots of each trigger’s options.

Which job would you trust to run on your Mac unattended, with no notification that it happened?

Related posts