Chapter 12. More on Commands

As you know by now, commands are an essential tool for manipulating both AppleScript and application objects. In this chapter, you will round out your knowledge of commands as we take a tour of the standard commands provided by many scriptable applications and discuss some of the finer details of commands and their use.

First, though, let's review what you've learned so far.

Understanding How and Where Commands Are Defined

While a command is a command, one of the quirks of AppleScript is that how you type that command depends on how and where it's defined. Commands may be defined in four different places: applications, scripting additions, scripts, and the AppleScript language itself. Let's look at the syntax and usage ...

Get Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.