CAn anyone tell me how to have a wait of sleep function that can wait for 5
secons before going on via vbscript
cheers
Gavin D. Garley
"ben" <b...@mc.com> wrote in message
news:OY3xEXS0...@TK2MSFTNGP09.phx.gbl...
>CAn anyone tell me how to have a wait of sleep function that can wait for 5
>secons before going on via vbscript
I use the Wscript.Sleep function. You could probably do something
with the Timer function, maybe:
StartTime = Timer
While Timer - StartTime < 5
Wend
Jeff
Wscript.Sleep is better, as it doesn't waste nearly as many CPU cycles as
the above loop.
/Al
As far as I understand I think all you need to do is put:
wscript.sleep 5000
David
"ben" <b...@mc.com> wrote in message
news:OY3xEXS0...@TK2MSFTNGP09.phx.gbl...