Tom,
From the Reflection 8.0 Basic Editor help:
Syntax object.Wait HowLong, [Options]
Description
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
Arguments
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.
regards,
Robert W.Mills
Systems Development Manager
Windsong Services
(01689) 870622 x3005
Tom Hula <mailto:[log in to unmask]> wrote on 13 October 2003 13:49:
> I'm making some changes to a VBA Reflection script, wanting to add
> the Wait function, but I can't find any manual online or otherwise
> that shows the proper sytax. I'm trying to insert a wait of 5
> seconds. If someone could tell me how to do that or where to look, I
> would appreciate it.
>
> Tom Hula
> Victor S. Barnes Company
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|