Util.ScriptCompletionState Property

 Util.ScriptCompletionState  (read-only, ScriptCompletionStates)
 
The completion status of the last script to be run in the ACP console

Syntax

Util.ScriptCompletionState

The property syntax has these parts:

Part Description
Value (ScriptCompletionStates) The completion status of the last script to be run in the ACP console

Remarks

If the script was aborted by a weather unsafe event, this property does not indicate the status of the weather safety script, even if it is interrupted or fails. ScriptCompletionStatus relates to the script that was interrupted by the weather unsafe event. There is no way to get the status of the weather safety script itself.

Symbolic Constants

The (symbolic) values for ScriptCompletionStates are:

Constant Value Description
scrComplUnknown 0 The script completion status is unknown (running or never started)
scrComplSuccess 1 The script completed successfully
scrComplError 2 The script failed due to a compilation or run time error
scrComplAbort 3 The script was aborted by the operator
scrComplWeather 4 The script was aborted by a weather unsafe event