Jump to content

google login


Recommended Posts

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")
Link to comment
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")

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...