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: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  

AppleScript.LastErrorPosition

Queries position of error in source text.

Component Version macOS Windows Linux Server iOS SDK
AppleScript 13.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "AppleScript.LastErrorPosition" )

Parameters

none

Result

Returns empty, number or error.

Description

Queries position of error in source text.
If no position was saved as last error, we return empty value.
Otherwise we return text position of the compile error.

See also

Release notes

Blog Entries

This function does not need a paid license.

Created 31st March 2023, last changed 31st March 2023


AppleScript.LastErrorMessage - AppleScript.List

💬 Ask a question or report a problem


Start Chat