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