Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 682

WScript Sleep Time

$
0
0
Hi All,
I am using that for example:
Code:

WshShell.SendKeys "pwd"
WshShell.SendKeys ("{Enter}")
WScript.Sleep 1000
WshShell.SendKeys "mkdir test"
WshShell.SendKeys ("{Enter}")
WScript.Sleep 2000

Is there any chance the sleeping time to be until the command is done, instead miliseconds?
I mean once the command is done to start with the next one.

Thanks!

Viewing all articles
Browse latest Browse all 682

Trending Articles