DoAppleScript

Executes an AppleScript in the Macintosh OS environment.

Core function

Syntax

DoAppleScript( script )

Parameters

Parameter Description
script Applescript statement(s) to be executed.

Description

DoAppleScript is a top-level function and is not associated with any object.

You can use this method to execute an AppleScript in the Macintosh OS environment.

Examples

An example MetaScript statement is below:

See also

Application, CompiledScript, ScriptApplication

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