Orgins Posted April 19, 2009 Posted April 19, 2009 (edited) Tried most (all?) of them but it ether does the wrong thing or nothing at all. Part of source code:</form> <tr style="border-bottom:0px;"><td colspan="3" style="vertical-align:middle; text-align:center; border-left:0px; border-bottom:0px;">All Actions Points purchased expire at midnight. </td></tr></table></td></tr></table></td></tr></table</div> <table style="width:708px; height:7px; background-image:url(/public/img/content/puzzle/ct_break2.jpg)"><tr><td></td></tr></table> <div class="main_content_inner" style="background-image:url(/public/img/content/puzzle/ct_content1.jpg); background-repeat:repeat-y"><table style="border:0px;" class="content_inner_basic"><tr class="content_inner_basic"><td class="content_inner_last_row" style="text-align:center;" ><br/><br/> <form name= "myForm" target="_self" action="/mountains/overview/plunder/?w=4EN" method="post"> <input type="hidden" name="thiszone" value="2" /> <button type="submit" name="PLUNDER_BUTTON" value="1" style="background-color:transparent; border:0px; width:164px; height:23px; " onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('btn_raubzug_starten3421348','','/public/img/en/buttons/btn_raubzug_starten_h.jpg',1)" ><img class="submit_image" name="btn_raubzug_starten3421348" src="/public/img/en/buttons/btn_raubzug_starten.jpg" alt="Start plundering " style="border:0px; margin-top:-2px; *margin-top:0px; margin-left:-3px; *margin-left:0px;" /></button> </form> If I know which command to focus on I can get it. /edit: I want it to click the plunder button. Edited April 19, 2009 by Orgins I'm a newbie.Sorry if I don't reposed to your replays very fast.
Aeterna Posted April 19, 2009 Posted April 19, 2009 CODE $oIE = _IECreate("URL OF YOUR WEBSITE HERE") $oForm = _IEGetObjByName($oIE, "myForm") _IEFormSubmit($oForm)
Orgins Posted April 19, 2009 Author Posted April 19, 2009 Tried that. Theres another form with the same name before the plunder one. But now that I reread the Autoit help I see theres an $i_index setting. me I'm a newbie.Sorry if I don't reposed to your replays very fast.
Aeterna Posted April 19, 2009 Posted April 19, 2009 (edited) Try this: CODE $oIE = _IECreate("URL OF YOUR WEBSITE HERE") $oForms = _IEFormGetCollection($oIE, 1) $oForm = $oForms[1] _IEFormSubmit($oForm) EDITED Edited April 19, 2009 by Aeterna
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