NSearch 0 Posted April 28, 2005 HTML CODE: <td align="right" bgcolor="#999999" nowrap><input alt="Continue" border="0" src="/img/1.gif" name="BUTTON_CONTINUE" type="image" height="1" width="1"><input alt="Clear" border="0" name="BUTTON_CLEAR" src="/img/en/btn_clear.gif" width="40" height="18" type="image"><img alt="" border="0" height="1" src="/img/1.gif" width="1"><input alt="Continue" border="0" name="BUTTON_CONTINUE" src="/img/en/btn_continue_a.gif" width="73" height="18" type="image"></td> AutoIt Script So Far: ControlClick("Generic Title", "??????", "BUTTON_CLEAR") Question: How do I click on the BUTTON_CLEAR. I have having trouble with the controlclick function: ControlClick ( "title", "text", controlID [, button] [, clicks]] ) -What should go here--^ Thank you. Share this post Link to post Share on other sites
MarkMarkMark 0 Posted April 28, 2005 You can leave it blanc like "" Controlclick("title", "" , controlID , "BUTTON_CLEAR") its the text that's visible in the title windows.. you can retrieve it with AU3info.exe located in your autoit dir. Share this post Link to post Share on other sites
NSearch 0 Posted April 28, 2005 That did not work. Should controlID be in there..... Controlclick("title", "" , controlID , "BUTTON_CLEAR") Share this post Link to post Share on other sites
NSearch 0 Posted April 28, 2005 Should it look like this? Controlclick("Title", "", ClassNameNN[bUTTON_CLEAR]) Share this post Link to post Share on other sites
NSearch 0 Posted April 28, 2005 Does anyone know if it is possible to click on an image button on a webpage using controlclick. The button moves depending on what is being displayed per transaction. I have the mouse moving to the location and clicking, but the at the next transaction, the button could be in a different location. Thank you. Share this post Link to post Share on other sites
therks 33 Posted April 28, 2005 No. You cannot interact with any of the elements on webpages the way you can other controls. They are not standard controls. Your only hope would be knowing where the point is you wish to click, and using MouseClick to click at the exact coordinates of the screen. My AutoIt Stuff | My Github Share this post Link to post Share on other sites