Scripting Additions Guide
Table Of Contents
CHAPTER 2
Scripting Addition Commands
8 Command Definitions
Command Definitions 2
The sections that follow are in alphabetical order by command name and
provide definitions for all the standard scripting addition commands. For
information about using command definitions, see Chapter 4, “Commands,”
of the AppleScript Language Guide.
Activate 2
The Activate command brings an application to the front (that is, its window
becomes the frontmost window on the desktop). If the application is on the
local computer, AppleScript opens the application if it is not already running. If
the application is on a remote computer, it must be running already.
Unlike most other scripting additions, the Activate command is built into
the AppleScript extension. It does not have a separate file in the Scripting
Additions folder.
String Commands ASCII Character Converts a number to its
ASCII equivalent.
ASCII Number Returns the ASCII number
of a character.
Offset Determines the offset of a string
within another string.
Time to GMT Time to GMT Returns the difference, in seconds,
between the current time and
Greenwich mean time.
Table 2-1 Scripting addition commands described in this guide (continued)
Name of
scripting addition file Name of command Description of command