launch.resource

Syntax launch.resource (type, id)

Params type is a four-character resource type identifier.

id is the ID of the resource of type type you wish to launch.

Action Runs the resource identified by the parameters.

Returns True if the launch is successful, false otherwise.

Examples launch.resource ('FKEY', 3)

   » true

Launches the "Screen Capture" code resource in the System file.

Errors If you supply identification information for a non-existent resource, Frontier returns false but no error message is generated.

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

Notes This verb is used primarily for launching FKEYs, though you may find uses for it in launching other 'CODE' resources.

This is an advanced Frontier verb of primary interest to implementers and advanced scripters. It is not necessary to understand it to use Frontier effectively for most tasks.

Discuss