Sleep in VBScript

I want my VBScript to stop for 4 seconds before starting again.

Searched the web and found this "WScript.Sleep 4000".
The problem is that when I use this code i get an error "Object required 'WScript'".

What is wrong?

Is there a better way to do this?



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion