#automation
50 solutions
Concatenate several PDFs into one file using the Combine PDF Pages Automator action from the Terminal.
osascript talks to System Events to list every login item and delete the unwanted ones by name.
Launch any saved Shortcuts automation directly from Terminal on macOS 12+.
Use a shell loop with parameter expansion to rename many files safely.
Reorder, squash, reword or drop commits before sharing them.
Script-batch change file associations on macOS instead of clicking Get Info repeatedly.
Send a graceful quit signal to every foreground macOS application.
AppleScript's set volume command is the only built-in way to mute or change volume from Terminal and scripts.
Replace ad-hoc shell scripts with named recipes in a justfile.
Print the exact names of every shortcut in your library from Terminal.
Add selection menus, inputs, spinners and styled text to scripts.
Use osascript AppleScript to add a titled note to your Notes app.