All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
2.0
2.1
2.2
2.3
2.4
2.5
2.6
Applescript.LastErrorMessage
Component: Applescript
Version: 1.0
Mac OS X: Works
Windows: Does nothing
MBS("Applescript.LastErrorMessage")
Parameters
none
Description
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.
Examples
Get the Last Applescript Error as text
MBS( "Applescript.LastErrorMessage")
Feedback: Report problem or ask question.
Loading
Links
MBS REAL studio tutorial videos - Christians Software aus Nickenich