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: