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

AppleScript Commands and Statements

As you have already seen, AppleScript’s programming language provides programmers with access to many commands. Commands are instructions that perform tasks. Commands are one of the building blocks used in the formulation of statements. A statement is a line of program code. You have already seen numerous commands in action in this book. Examples include:

  • display dialog

  • tell

  • say

  • set

Some commands like the display dialog command are capable of returning a result that can then be used as input. Other commands like beep, discussed later in this chapter, simply perform a specified action without returning a result. Many commands are built into AppleScript. Other commands are provided by third-party applications. In ...

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