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.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Returns the last error message.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AppleScript 1.0 Yes No Yes, macOS only No No
MBS( "AppleScript.LastErrorMessage" )   More




Returns the last error message.
Any AppleScript Errors that are not trapped using "try" blocks, will abort the AppleScript. AppleScript Compile errors are also reported here. This function is useful for error trapping your scripts.


Get the Last Applescript Error as text

MBS( "AppleScript.LastErrorMessage")

See also

Example Databases

Created 18th August 2014, last changed 31st October 2016

AppleScript.LastError   -   AppleScript.PropertyCount

Feedback: Report problem or ask question.

MBS Xojo Plugins