StatQuo Posted July 25, 2012 Share Posted July 25, 2012 Hi! I got form code like this: expandcollapse popup<form method="post" action="/index.php?id=zaloguj" id="loginForm"> <table> <tr> <!-- td> <img src="img/ikony/user.png" /> </td --> <td> Login: </td> <td> </td> <td> <input type="text" name="xlogin" class="form width100" /> </td> </tr> <tr> <!--td> <img src="img/ikony/key.png" /> </td --> <td> Hasło: </td> <td> </td> <td> <input type="password" name="xhaslo" class="form width100" /> </td> </tr> <tr> <td> </td> <td> </td> <td> <input type="submit" value="Zaloguj" class="form" /> </td> </tr> </table> </form> And here is my code: #include <IE.au3> Global $login="mylogin" Global $password="mypassword" $oIE = _IECreate("http://smoki.nightwood.net/",0,1,1) $oForm = _IEFormGetObjByName ($oIE, "loginForm") $oText = _IEFormElementGetObjByName ($oForm, "xlogin") _IEFormElementSetValue ($oText, $login) $oText = _IEFormElementGetObjByName ($oForm, "xhaslo") _IEFormElementSetValue ($oText, $password) _IEFormSubmit($oForm,0) Script working almost correctly, fill form fields, but dosen't send this form.... Pls. help. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 25, 2012 Moderators Share Posted July 25, 2012 Hi, StatQuo. Please take a few moments to read through the forum rules, particularly the bit about automating site logins. You will see why you will not receive any help on this subject.http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/ "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Valik Posted July 25, 2012 Share Posted July 25, 2012 It's also a game. So double whammy. Good job! Link to comment Share on other sites More sharing options...
Recommended Posts