Get(AllowAbortState)
Category: Get
Syntax: Get ( AllowAbortState ) |
Parameters: None
Data type returned: Number
Description:
Returns 1 if Allow User Abort is On; returns 0 if Allow User Abort is Off.
If the setting for User Abort hasn't been explicitly set, a script runs as if Allow User Abort is On. Get (AllowAbortState) returns 1 in such cases.
Examples:
In the following script
Allow User Abort [Off] Show Custom Dialog [Get ( AllowAbortState ) ]
the custom dialog would display 0.
In the following script
Allow User Abort [On] Show Custom Dialog [Get ( AllowAbortState ) ]
the custom dialog would display 1.