|
Script Object |
|
See Also: |
The Script.Waiting property returns whether the script is currently in a Script.Wait() statement.
VBScript:
JScript:
| Script | The Script object. |
| boolWaiting | True: The main thread of script execution is paused at a Wait() statement. False: The script is not Wait() ing. |
Script.Waiting is useful for detecting re-entrancy when handling COM events from out-of-process COM objects. Script.Wait(), Script.StopWait(), and Script.Waiting are all useful for pausing a script while out-of-process COM object events are being handled. For more information, see the Sinking COM Events and Script.Wait() topics.