Automatic login in googlemail
Posted: 04 Nov 2010 02:25
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<mpl=default<mplcache=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
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<mpl=default<mplcache=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