kizsdet Posted June 9, 2010 Share Posted June 9, 2010 #include <IE.au3> ; Create a browser window and navigate to hotmail $oIE = _IECreate ("http://www.hotmail.com") ; get pointers to the login form and username, password and signin fields $o_form = _IEFormGetObjByName ($oIE, "f1") $o_login = _IEFormElementGetObjByName ($o_form, "login") $o_password = _IEFormElementGetObjByName ($o_form, "passwd") $o_signin = _IEFormElementGetObjByName ($o_form, "SI") $username = "your username here" $password = "your password here" ; Set field values and submit the form _IEFormElementSetValue ($o_login, $username) _IEFormElementSetValue ($o_password, $password) _IEAction ($o_signin, "click") hello guys..is there any way to use _IEFormElementSetValue function without opening a new IE page..i want to make a script that will set the value on an already open page..is there any _IE function that i missed to read?? thanks for your reply.. Link to comment Share on other sites More sharing options...
jfcby Posted June 10, 2010 Share Posted June 10, 2010 (edited) This should work for you...Replace:$oIE = _IECreate ("http://www.hotmail.com")With this:$oIE = _IEAttach ("http://www.hotmail.com")jfcby Edited June 10, 2010 by jfcby Determined -- Devoted -- Delivered Make your mind up -- to seriously apply yourself -- accomplishing the desired results. **** A soft answer turneth away wrath: but grievous words stir up anger. Proverbs 15:1 KJB **** 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