23

Automation with AppleScript

AppleScript—Mac OS X on Autopilot

If you are building a workflow on the Mac OS X operating system, you can exploit the capabilities of AppleScript. It is designed around a model that depends on the application developers providing support while Apple engineers the framework. Some applications are better supported than others. There is a great deal of help online, with many sample scripts to mine for ideas that you can recycle in your own designs.

There are some pitfalls, too. Beware of gradual changes to the AppleScript dictionaries. Replacing an application with a later version will affect your AppleScript code in ways you may not expect.

Heritage

AppleScript was originally developed on the Mac OS Classic operating ...

Get Developing Quality Metadata 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.