launch.usingID

Syntax launch.usingID (id)

Params id is a string4 containing the signature of a Macintosh application.

Action Launches the application indicated by the id. Brings the application to the front if successful.

Returns True if the launch is successful, false otherwise.

Examples launch.usingID ('MSWD')

   » true // launches Microsoft Word

launch.usingID ('GEOL')

   » true // launches AppleLink

launch.usingID ('xxxx')

   » false // there is no application with creator of 'xxxx'

Errors If there's no application with the indicated creator, or if the application couldn't be brought to the front.

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes This verb works only on a Macintosh running System 7.0 or later. Used on a Macintosh running an earlier version of the system, this verb returns false.

See Also launch.application

file.findApplication

Discuss