Programming with Reflection
Wait method
Syntax object.Wait HowLong, [Options]
Waits for the specified period of time. Incoming data is processed during the wait.
When waiting from an external application (such as stand-alone Visual Basic), the ProcessDatacomm property should be set to False to prevent Reflection from reading and processing characters between calls to Reflection methods.
The following statement instructs Reflection to wait for 30 seconds, allowing keystrokes during the wait:
Session.Wait "30", rcAllowKeystrokes
HowLong Argument Type: String
Required
Specifies the amount of time to wait. The string is specified in HH:MM:SS.hh format.
Options Argument Type: Enumeration
Optional
Specifies additional, non-default behavior for the method. The possible values are:
rcAllowKeystrokes
Specifies that the user is allowed to enter keystrokes in the terminal window during the wait.
rcNoDisplay
Specifies that incoming characters should not be displayed in Reflection's terminal window during the wait.
You can combine the two options using the addition operator (+): rcAllowKeystrokes + rcNoDisplay.