Free course
Automate macOS Course
Automate repeatable Mac work with Shortcuts, shell commands, AppleScript, Finder actions, launchd jobs, logs, and safe failure handling.
Prerequisites: macOS Basics, Shell Commands and Shell Scripting and Automation
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Build a documented Mac automation that accepts clear input, runs without hidden interaction, reports failures, and is safe to run twice.
Course contents
Choose the automation
Define the repeated task, select the smallest suitable Mac automation tool, and design input, output, and rollback.
Connect apps and files
Use Shortcuts, Finder Quick Actions, open, clipboard commands, and file metadata to connect desktop work.
Script applications
Inspect scripting dictionaries, send Apple events, combine AppleScript with shell commands, and avoid brittle UI scripting.
Schedule with launchd
Build and operate a per-user LaunchAgent with explicit paths, environment, output, and lifecycle controls.
Operate the automation
Add idempotence, locking, logs, notifications, tests, recovery, and a complete automation runbook.