cent Posted June 30, 2008 Posted June 30, 2008 (edited) Hi,new to autoit i'm trying to make a script that open yahoo mail, login then do stuff; i use this code but something is wrong :#include <IE.au3>$oIE = _IECreate ("http://mail.yahoo.com")$o_form = _IEFormGetObjByName ($oIE, "f1")$o_login = _IEFormElementGetObjByName ($o_form, "login")$o_password = _IEFormElementGetObjByName ($o_form, "passwd")$o_signin = _IEFormElementGetObjByName ($o_form, ".save")$username = "123@yahoo.com"$password = "..."_IEFormElementSetValue ($o_login, $username)_IEFormElementSetValue ($o_password, $password)_IEAction ($o_signin, "click") Edited July 15, 2008 by cent
Thamiel Posted June 30, 2008 Posted June 30, 2008 (edited) Hi,new to autoit i'm trying to make a script that open yahoo mail, login then do stuff; i use this code but something is wrong :Here you go #include <IE.au3>$oIE = _IECreate ("http://mail.yahoo.com")$o_form = _IEFormGetObjByName ($oIE, "login_form")$o_login = _IEFormElementGetObjByName ($o_form, "login")$o_password = _IEFormElementGetObjByName ($o_form, "passwd")$o_signin = _IEFormElementGetObjByName ($o_form, ".save")$username = "123@yahoo.com"$password = "..."_IEFormElementSetValue ($o_login, $username)_IEFormElementSetValue ($o_password, $password)_IEAction ($o_signin, "click")_______________________________________________________________If I was you tho I'd change my password Welcome, Astro! You have 95 unread messages: Edited July 15, 2008 by big_daddy Changed users email address
Thamiel Posted June 30, 2008 Posted June 30, 2008 (edited) Opps forgot to say, "you don't need the @yahoo.com" $username = "123@yahoo.com" becomes just $username = "123" Edited July 15, 2008 by big_daddy Changed users email address
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