O'Reilly logo

AppleScript® Programming for the Absolute Beginner by Jerry Lee Ford

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

Understanding AppleScript Syntax

Like any programming language, AppleScript consists of a number of keywords and commands. Unlike many programming languages, AppleScript syntax is extremely English-like, using a syntax that is based on nouns and verbs, combined with control commands that control script execution. Within the scope of AppleScript scripting, a noun is a resource, such as a file, folder, or disk drive, which is controlled or acted upon. A verb is an action that is performed on a noun. Using verbs you can specify that a resource be opened, closed, copied, deleted, etc. Much of the syntax that you follow is mandated by the application with which your AppleScripts will interact and control. This syntax is documented in each application’s ...

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