Page 1 of 1

Automatic login in googlemail

Posted: 04 Nov 2010 02:25
by santhosh
hi ghost/agerman

set a = createobject("wscript.shell")
a.run "https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fhl%3Den%26tab%3Dwm%26ui%3Dhtml%26zy%3Dl&bsv=1eic6yu9oa4y3&scc=1&ltmpl=default&ltmplcache=2&hl=en"
wscript.sleep(5000)
a.sendkeys("username")
a.sendkeys chr(9)
wscript.sleep(7000)
a.sendkeys("password")
a.sendkeys "{Enter}"
call msgbox("Done")
wscript.quit



probem is that... if some other window is active at that time the username and password is pasted there...can anyone suggest how to solve this

Re: Automatic login in googlemail

Posted: 11 Nov 2010 05:39
by orange_batch
Well, you could just get WebMail Notifier for Firefox. Checks for new mail, has auto-login.