Standard Scripting Addition Commands

This section is a catalogue of the scripting addition commands present in a standard installation of Mac OS X.

Tip

For load script, store script, and run script, see Section 9.6. For the POSIX file class, see Section 13.7 and Section 14.5. For digital hub scripting, folder action, and CGI events, see Chapter 24. For the do shell script command, see Chapter 23.

Dialogs

These scripting addition commands put up dialogs. The dialog will appear in whatever application is being targeted at the moment, or in the host application if no application is being targeted.

Noises

The following commands can be invoked to produce a sound alert.

File and Machine Information

The following commands can be used to get information about a file or your system.

File Data

These are scripting addition commands that read and write file data.

String and Clipboard

The following commands can be used to obtain a string or collect something from the Clipboard.

Numbers and Dates

The following commands are used for working with numbers and dates.

Miscellaneous

These are scripting addition commands I couldn’t categorize.

Get AppleScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.