O'Reilly logo

Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition by Hanaan Rosenthal, Hamish Sanderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required