title: Entering values to a dialogbox from windows scripting languages like vbs or WSh
body: <p>I have a web page which when opened gives a dialog box for entering the user name and password. I am tired of giving the username &amp; password every time. Can I code it into a windows script so that when I run the script, it will navigate to that page in IE and will fill the username textbox and password textbox in the dialogbox and click the OK button?</p>
  
  <p>I have tried the following script in VBScript for navigating. the IE opens and navigates to the location but I'm stuck when the dialog box opens prompting for a username and password.
  How do I fill them automatically from code?</p>
  
  <pre><code>Set IE = CreateObject("InternetExplorer.Application") 
  Set WshShell = WScript.CreateObject("WScript.Shell") 
  IE.Navigate "http://www.google.co.in" 
  IE.Visible = True 
  </code></pre>