Language Guide
CHAPTER 4
Commands
Command Definitions 85
The application commands defined in this chapter are standard application
commands supported by most applications. The definitions in this chapter
describe how these commands work in most applications. Individual applica-
tions can extend or change the way the standard application commands work.
Application dictionaries list application commands under two categories, the
Required suite and the Standard suite. All applications support the commands
in the Required suite. Different applications may support different commands
in the Standard suite. Table 4-1 summarizes the standard application
commands described in this chapter that belong to each suite.
Many applications also define their own suite of more specialized commands.
The application’s dictionary provides definitions of all commands supported
by the application. Check the appropriate application dictionary before using
application commands. You can open an application’s dictionary by selecting
the application’s icon on the desktop, dragging it over the Script Editor’s icon,
and releasing the mouse button.
Table 4-1 Standard application commands defined in this chapter
Command Summary
Required suite
Open Opens a file.
Print Prints one or more objects.
Quit Terminates an application.
Run Launches an application and invokes its standard startup
procedures.
Standard suite
Close Closes one or more objects.
Copy Copies an object or objects to the Clipboard or to a
new location.
Count Counts elements of a particular class in an object.
Data Size Returns the size, in bytes, of the value of an object.
Delete Deletes one or more objects.
continued