Description
The Waits object is a collection object used to control and check on the status of number of "wait-type" objects.
Properties |
Methods |
|
|
|
|
|
|
|
Comments
You can retrieve a Waits collection with the Waits property of the System object. For example:
Dim sys As Object, waits As Object
Set sys = CreateObject("Extra.System")
Set waits = sys.Waits
When used with the Set keyword, the following methods will immediately return a wait-type object, rather that waiting synchronously for their operations to complete:
NavigateTo
ReceiveFile
SendFile
WaitForCursor
WaitForCursorMove
WaitForDisconnect
WaitForKeys
WaitForStream
WaitForString
WaitForTimer
WaitHostQuiet
After retrieving several wait-type objects using the above methods, use the Add method to add them to the Waits collection object. Then, through use of the Wait method, it is possible to simultaneously monitor the status of all the objects in the collection.