Nahuel Posted September 10, 2007 Share Posted September 10, 2007 Is it possible to use it here to enter username and password?http://www.atfreeforum.com/internationalca/login.php?I can't figure out how _IEFormSubmit works :"> Link to comment Share on other sites More sharing options...
Didonet Posted September 10, 2007 Share Posted September 10, 2007 #include <IE.au3> $oIE = _IECreate ("http://www.atfreeforum.com/internationalca/login.php") $oUser =_IEGetObjByName($oIE,"username") $oPass =_IEGetObjByName($oIE,"password") $oSubmit = _IEGetObjByName($oIE, "login") _IEFormElementSetValue ($oUser, 'my_username') _IEFormElementSetValue ($oPass, 'my_password') _IEAction ($oSubmit, "click") Here you go Look the help file, too! Link to comment Share on other sites More sharing options...
Nahuel Posted September 10, 2007 Author Share Posted September 10, 2007 haha, thanks! I did read it. This is what I had done: $oIE = _IECreate ("http://www.atfreeforum.com/internationalca/login.php?") _IELoadWait($oIE) WinSetState("","",@SW_MAXIMIZE) $oForm = _IEFormGetCollection ($oIE, 0) $oQuery1 = _IEFormElementGetCollection ($oForm, 0) $oQuery = _IEFormElementGetCollection ($oForm, 1) _IEFormElementSetValue ($oQuery1, "Username") _IEFormElementSetValue ($oQuery, "password") But I was stuck there! Thanks. That worked perfectly. Link to comment Share on other sites More sharing options...
Nahuel Posted September 10, 2007 Author Share Posted September 10, 2007 One more thing. I managed to login to my boards with your help but now I cant send the message because I can't figure out the name of the 'Enviar' button (Submit) here: http://www.atfreeforum.com/internationalca...internationalcaI tried with Send, submit, post, enviar... none of them work. 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