Scripting Additions Guide
Table Of Contents
CHAPTER 2
Scripting Addition Commands
Command Definitions 9
SYNTAX
activate referenceToApplication
PARAMETER
referenceToApplication
A reference of the form application nameString (see “Notes”).
Class: Reference
RESULT
None
EXAMPLES
set x to application "Scriptable Text Editor"
activate x
activate application ¬
"Mac HD:Applications:Scriptable Text Editor"
tell application "Scriptable Text Editor"
activate
end tell
tell application "Scriptable Text Editor" to activate
NOTES
The way you specify the name (nameString) of the application you want to
activate depends on whether the application is on a local or remote computer.
To specify an application on the local computer, use a string of the form
"Disk:Folder1:Folder2:...:ApplicationName". You can also specify a string
with only an application name ("ApplicationName"). In this case, AppleScript
attempts to find the application in the current directory.