Chapter 12. Automating Tasks with AppleScript

Have you ever wanted to automate a task on your Mac—one that needs to be performed over and over again? For example, maybe as part of your job you resize images, apply a filter, compress the files, and then upload them to a website. You know your Mac is capable of automating work like this, but Automator is too limited and you’re not sure what other options are available.

Enter AppleScript, one of the best-kept secrets on your Mac. AppleScript is a scripting language built into OS X that can automate practically any task or workflow, performing tasks and transferring data between applications. There is a catch—AppleScript can be difficult to learn and to adapt for your purposes. It’s a true programming ...

Get Master Your Mac now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.