Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

Component: AppleScript

Run Apple Scripts.

The script source can be calculated. Precompile a script to run it several times with better performance. Between runs you can use properties in AppleScript to exchange values.

Item Details
AppleScript.Close
Removes a Script from memory.
Mac only
1.0
AppleScript.Compile
Compiles the script and returns the Script ID.
Mac only
1.0
AppleScript.Execute
Executes an AppleScript that was previously compiled using the AppleScript.Compile function.
Mac only
1.0
AppleScript.GetPropertyName
Queries name of property with given index.
Mac only
4.2
AppleScript.GetPropertyValue
Queries property value text.
Mac only
4.2
AppleScript.LastError
Returns the last error code.
Mac only
1.0
AppleScript.LastErrorMessage
Returns the last error message.
Mac only
1.0
AppleScript.PropertyCount
Queries the number of properties in the script.
Mac only
4.2
AppleScript.Run
The function compiles the AppleScript text and runs it.
Mac only
1.0
AppleScript.SetPropertyValue
Sets property value with new text.
Mac only
4.2
Applescript.DeterminePermissionToAutomateTarget
Checks whether AppleScript is allowed.
Mac only
8.6

11 functions.

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins