Danyiel92 Posted March 29, 2010 Share Posted March 29, 2010 (edited) Failed #include <IE.au3> $oIE = _IECreate ("http://ggmclan.omgforum.net/login.forum?connexion") $oForm = _IEFormGetObjByName ($oIE, "Log in") $oText = _IEFormElementGetObjByName ($oForm, "username") _IEFormElementSetValue ($oText, "Admin") Hey, I`m New Here. Can anyone tell me what is the problem here? "Admin" Does not appear in "username" form Edited March 29, 2010 by Danyiel92 Link to comment Share on other sites More sharing options...
Steveiwonder Posted March 29, 2010 Share Posted March 29, 2010 (edited) Yo, you were using the wrong form name in your code. #include <IE.au3> $oIE = _IECreate ("http://ggmclan.omgforum.net/login.forum?connexion") $oForm = _IEFormGetObjByName ($oIE, "form_login") ; changed this line $oText = _IEFormElementGetObjByName ($oForm, "username") _IEFormElementSetValue ($oText, "Admin") Edited March 29, 2010 by Steveiwonder They call me MrRegExpMan Link to comment Share on other sites More sharing options...
Danyiel92 Posted March 29, 2010 Author Share Posted March 29, 2010 Yo, you were using the wrong form name in your code. #include <IE.au3> $oIE = _IECreate ("http://ggmclan.omgforum.net/login.forum?connexion") $oForm = _IEFormGetObjByName ($oIE, "form_login") ; changed this line $oText = _IEFormElementGetObjByName ($oForm, "username") _IEFormElementSetValue ($oText, "Admin") Thx.. 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