Skip to main content
coreydaley.dev
Docs menu

Automate your Mac: Shortcuts, AppleScript or Automator

The Mac has three built-in ways to automate: Shortcuts, AppleScript and Automator. What each is good for, tested on macOS 27 with the same task.

Every Mac comes with three ways to automate things: Shortcuts, AppleScript and Automator. Use Shortcuts for anything new: it’s the one Apple is building on, it runs from the menu bar, Finder, Spotlight and Terminal, and it works on iPhone and iPad too. Use AppleScript when you need to control another app in detail, or want plain text you can keep in Git. Keep Automator for workflows you already have; when Apple brought Shortcuts to the Mac in 2021, it described it as the start of a transition away from Automator.

All three are still on the Mac. I tested them on macOS 27.2, where Shortcuts is version 10.0, Script Editor (AppleScript’s editor) 2.11 and Automator 2.10, by building the same small job in each: resize the selected photos to 1,600 pixels and save them as JPEGs. I wrote the AppleScript in Script Editor; the Shortcuts and Automator versions I made as files, opened in each app and ran from Finder and Terminal, so the steps in this guide name each app’s own labels for the same actions.

At a glance

ShortcutsAppleScriptAutomator
What it isDrag-and-drop actions, in a listA scripting languageDrag-and-drop actions, in a list
Where you build itShortcuts appScript Editor (in Utilities)Automator app
Runs onMac, iPhone and iPadMacMac
Run it fromFinder, Terminal (shortcuts run); also the menu bar, Spotlight or a keyboard shortcutScript Editor, as an app, Terminal (osascript), ShortcutsFinder (Quick Action), as an app, Terminal (automator)
Controls other appsThrough actions apps provideDeeply, through each app’s scripting dictionaryThrough its built-in actions
Can run the othersHas Run AppleScript and Run Shell Script actions, once Allow Running Scripts is onRuns shell commands with do shell script, including shortcuts runHas Run AppleScript and Run Shell Script actions
StatusWhere Apple is adding featuresStill shipsStill ships; Apple described Shortcuts in 2021 as the start of a transition away from it

The same job, three ways

Diagram comparing the resize job in Shortcuts, AppleScript and Automator, with output sizes

Each one took a photo, made a 1,600-pixel JPEG, and left the original alone:

ShortcutsAppleScriptAutomator
Steps3 actions, plus the Quick Action’s Receive step7 lines3 actions
A 4032×3024 photo became1600×12001600×12001600×1200
A 2000×3000 portrait photo became1600×24001600×24001066×1600
Where the JPEG goesWherever you choose when it asksNext to the originalA folder set in the workflow (the Desktop by default)

The portrait row is the kind of difference that bites. Automator’s Scale Images action sets the longest side to 1,600 pixels; the Shortcuts and AppleScript versions I built set the width, so a tall photo came out 2,400 pixels tall. Both can do either; it’s a setting worth checking.

The pages in this guide build each version step by step:

  • Shortcuts: the basics, and the resize shortcut as a Finder Quick Action.
  • Automations: run a shortcut on its own when an app opens, a folder changes or at a set time.
  • AppleScript: Script Editor, a first script, scripting dictionaries, and a drag-and-drop app.
  • Automator: the document types, a Quick Action, and moving a workflow to Shortcuts.

Which one should you use?

  • Something new, or something you want on your iPhone too: Shortcuts.
  • Controlling an app in detail (Mail, Finder, Music, Pages, or any app with a scripting dictionary), or text you want to version and diff: AppleScript, often called from a shortcut with Run AppleScript (after turning on Allow Running Scripts in Shortcuts’ settings).
  • A workflow you already have in Automator: keep running it. You can open it in Shortcuts to convert it, but test the result; mine converted and ran without an error, and saved nothing.
  • Run something when files land in a folder: on macOS 26 and later, a Shortcuts Folder trigger; see Automations. Automator’s older Folder Actions do it too; I didn’t test those for this guide.

If you’re comfortable in Terminal, all three run from it, so you can mix them with shell scripts: shortcuts run, osascript and automator.