Language Guide
CHAPTER 4
Commands
86 Command Definitions
Table 4-2 lists the AppleScript commands defined in this chapter.
Another AppleScript command, the Error command, is described in “Try
Statements,” which begins on page 204.
*
Although the target of a Launch command is always an application, it is actually handled by
AppleScript. Unlike the other commands listed in this table, the Launch command doesn’t need
to be explicitly supported by applications and doesn’t appear in any application’s dictionary.
Duplicate Copies an object or objects to a new location.
Exists Determines if an object exists.
Get Returns the value of an object.
Launch
*
Launches an application without invoking its standard
startup procedures.
Make Creates a new object.
Move Moves an object or objects.
Save Saves an object to a file.
Set Assigns a value to an object.
Table 4-2 AppleScript commands defined in this chapter
Command Summary
Copy Assigns a value to a variable.
Count Counts the elements of a compound value.
Get Returns the value of an expression.
Run Executes statements other than handler and property definitions
in a script object definition.
Set Assigns a value to a variable.
Table 4-1 Standard application commands defined in this chapter (continued)
Command Summary