Get(ErrorCaptureState)
Category: Get
Syntax: Get ( ErrorCaptureState ) |
Parameters: None
Data type returned: Number
Description:
Returns 1 if Set Error Capture has been set to On, and 0 if Set Error Capture was either not set or set to Off.
It is not possible to tell with the Get (ErrorCaptureState) function whether Error Capture was explicitly turned off or simply not set.
Examples:
In the following script
Set Error Capture [Off] Show Custom Dialog [ Get (ErrorCaptureState) ]
the custom dialog displays 0.
In the following script
Set Error Capture [On] Show Custom Dialog [ Get (ErrorCaptureState) ]
the custom dialog displays 1.