title: Alternative for WScript.Sleep and window.timeout
body: <p>I am writing a VBScript for an application that runs on an industrial controller which does not support <code>WScript</code>. The controller has a single thread for processing VBScript and I need to pause my script for only a few program scans to allow another event handler to process. VBScript is processed in a WSH shell. If I run a <code>MsgBox</code> and popup a message it frees the script to do what it needs to and everything works fine but I cannot have a message box popping up.</p>
  
  <p>Everything I have read suggests using <code>WScript.Sleep</code> but that is not available to me.</p>
  
  <p>This does not run in a web browser so the window.timeout object is not available.
  I cannot access WScript.Sleep so that is not an option.</p>