Types of Commands
You can use four types of commands in AppleScript to request actions: application commands, AppleScript commands, scripting additions, and user-defined commands.Each time you use a command, you specify the target, or recipient, of the command. Potential targets include application objects, script objects, the current script, and the current application. In some cases you specify the
target explicitly by including it in a Tell statement or supplying a direct parameter. In other cases you specify the target implicitly.The sections that follow describe the different types of commands and
their targets.
Subtopics
- Application Commands
- AppleScript Commands
- Scripting Addition Commands
- User-Defined Commands