realkiller Posted October 12, 2007 Share Posted October 12, 2007 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") Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
realkiller Posted October 12, 2007 Author Share Posted October 12, 2007 got it Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
realkiller Posted October 12, 2007 Author Share Posted October 12, 2007 #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") Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now