Understanding AppleScript Syntax

Describing the AppleScript syntax to a programmer familiar with a traditional language isn't as straightforward as you might think. AppleScript uses an entirely different programming model based on an English-like structure that, after a few minutes of use, leaves the programmer feeling as though he is having a deep, intellectual conversation with his computer.

TIP

Many of the building blocks discussed here can automatically be entered into the Script Editor by Control-Clicking within your script and then choosing from the many prewritten code fragments displayed in the pop-up menu that will appear. You'll still have to fill in the details, but you won't have to remember the exact syntax.

Sending Instructions ...

Get Mac OS® X Tiger™ Unleashed 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.