All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

Applescript.Compile

Component: Applescript
Mac OS X: Works
Windows: Does nothing

MBS( "Applescript.Compile" ; Script Text )

Parameters

Parameter Description Example value
Script Text This is the text of the script to compile "3 + 4"

Description

Compiles the script and returns an ID which can be used to run the script using the Applescript.Execute function. The compiled script is stored in memory. This is useful if you have large script that needs to be run over and over again.

Examples

Compile a script

MBS( "Applescript.Compile" ; $Applescript )

Feedback: Report problem or ask question.