Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  

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.

Version macOS Windows Linux Server iOS SDK
1.0 / 13.0 ✅ Yes ❌ No ❌ No ✅ 92%, on macOS ❌ No

Item Details Server
AppleScript.Close
Removes a Script from memory.
Mac only
1.0
  ✅ Server
AppleScript.Compile
Compiles the script and returns the Script ID.
Mac only
1.0
  ✅ Server
AppleScript.Execute
Performs a compiled Apple Script.
Mac only
1.0
  ✅ Server
AppleScript.GetPropertyName
Queries name of property with given index.
Mac only
4.2
  ✅ Server
AppleScript.GetPropertyValue
Queries property value text.
Mac only
4.2
  ✅ Server
AppleScript.LastError
Returns the last error code.
Mac only
1.0
  ✅ Server
AppleScript.LastErrorMessage
Returns the last error message.
Mac only
1.0
  ✅ Server
AppleScript.List   New in 13.0
Lists all IDs of AppleScript objects.
Mac only
13.0
  ✅ Server
AppleScript.PropertyCount
Queries the number of properties in the script.
Mac only
4.2
  ✅ Server
AppleScript.Run
The function compiles the AppleScript text and runs it.
Mac only
1.0
  ✅ Server
AppleScript.SetPropertyValue
Sets property value with new text.
Mac only
4.2
  ✅ Server
Applescript.DeterminePermissionToAutomateTarget
Checks whether AppleScript is allowed.
Mac only
9.0
  ❌ Server

12 functions shown.

These functions require a paid license (75%).

Release notes

Blog Entries

Example Databases

💬 Ask a question or report a problem


Start Chat