title: How to click on ok button in message box using vbscript
body: <p>I have written a simple script to press ok on message box but its not working. Please help me how to do this 
  here is the sample code</p>
  
  <pre><code>    set oWShell = createobject("WScript.Shell")
      MsgBox "Hello"
      WScript.Sleep 2000
  
      oWShell.Sendkeys "{enter}"
  </code></pre>