Sign in to follow this  
Followers 0
realkiller

google login

3 posts in this topic

i made a login script to go into google but i cant seem to find the object to set the value in, mabay 1 of you is kind to help me out to automate this login

#include <IE.au3>
$googleusername="123456"
$googlePassword="123456"
$oIE = _IECreate ("http://www.google.com/calendar/?hl=nl")
$o_form = _IEFormGetObjByName ($oIE, "login")
$o_login = _IEFormElementGetObjByName ($o_form, "Email")
$o_password = _IEFormElementGetObjByName ($o_form, "Passwd")
$o_signin = _IEFormElementGetObjByName ($o_form, "sublogin")

; Set field values and submit the form
_IEFormElementSetValue ($o_login, $googleusername)
_IEFormElementSetValue ($o_password, $googlePassword)
_IEAction ($o_signin, "click")

Share this post


Link to post
Share on other sites

#include <IE.au3>
$googleusername="123456"
$googlePassword="123456"
$oIE = _IECreate ("http://www.google.com/calendar/?hl=nl")
$o_form = _IEFormGetObjByName ($oIE, "gaia_loginform")
$o_login = _IEFormElementGetObjByName ($o_form, "Email")
$o_password = _IEFormElementGetObjByName ($o_form, "Passwd")
$o_signin = _IEFormElementGetObjByName ($o_form, "null")

; Set field values and submit the form
_IEFormElementSetValue ($o_login, $googleusername)
_IEFormElementSetValue ($o_password, $googlePassword)
_IEAction ($o_signin, "click")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0