Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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.2 | ✅ 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.DeterminePermissionToAutomateTarget Checks whether AppleScript is allowed. | Mac only 9.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.LastErrorPosition Queries position of error in source text. | Mac only 13.2 |
✅ Server |
AppleScript.List 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 |
13 functions shown.
These functions require a license (69%).
Release notes
- Version 14.0
- Fixed AppleScript.Compile to clear last error for AppleScript.LastErrorMessage function.
- Version 13.2
- Added AppleScript.LastErrorPosition function.
- Improved AppleScript.Compile function to return error code and position.
- Version 13.0
- Added AppleScript.List function.
- Version 9.0
- Added Applescript.DeterminePermissionToAutomateTarget function.
Blog Entries
- Read and write notes in Contacts
- macOS Privacy and FileMaker
- MBS FileMaker Plugin 6.4 for OS X/Windows
- 4000 functions in 10 years
- MBS FileMaker Plugin 4.2 for OS X/Windows - More than 2500 Functions In One Plugin
- MBS Filemaker Plugin Overview