Application

In the Macintosh OS environment, the Application function returns an object representing an external application and allows files to be opened using this application.

Core function

Syntax

Application( app )

Parameters

Parameter Description
app A string that specifies the application:
  • If the application is stored in the the file system, this string should be of the form "file:app_name".
  • If the application has been stored in the Virtual Ticket database, the string should be of the form "database:app_name".
    To find the application based on its signature, the string should be of the form "signature:app_signature".

Description

Application is a top-level function and is not associated with any object.
You can use the Application function in the Macintosh OS environment to access external applications available from the file system or stored in the Virtual Ticket database. To open files using these applications, call the Open method of an object returned by the Application function.

Examples

To open files with an external application:

To open files with an application stored in the Virtual Ticket database:

To open files with an external application based on its signature:

See also

CompiledScript, DoAppleScript, ScriptApplication

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.