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.


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 O’Reilly online learning.

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