Posts

Showing posts from February, 2013

[Automated]Webpage loging using VB Script

set WshShell = WScript.CreateObject("WScript.Shell") ''call WshShell.Run("http://www.gmail.com", 1, false) 'This will open your default browser WshShell.Run "chrome -url www.gmail.com" 'This will open Chrome WScript.Sleep 2000 WshShell.SendKeys "yourusername" WScript.Sleep 1000 WshShell.SendKeys "{TAB}" WScript.Sleep 1000 WshShell.SendKeys "accountpassword" WshShell.SendKeys "{TAB}" WScript.Sleep 1000 WshShell.SendKeys "{ENTER}" WScript.Quit()