NSearch Posted April 28, 2005 Share 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. Link to comment Share on other sites More sharing options...
MarkMarkMark Posted April 28, 2005 Share 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. Link to comment Share on other sites More sharing options...
NSearch Posted April 28, 2005 Author Share Posted April 28, 2005 Thank you. Link to comment Share on other sites More sharing options...
NSearch Posted April 28, 2005 Author Share Posted April 28, 2005 That did not work. Should controlID be in there..... Controlclick("title", "" , controlID , "BUTTON_CLEAR") Link to comment Share on other sites More sharing options...
NSearch Posted April 28, 2005 Author Share Posted April 28, 2005 Should it look like this? Controlclick("Title", "", ClassNameNN[bUTTON_CLEAR]) Link to comment Share on other sites More sharing options...
NSearch Posted April 28, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
therks Posted April 28, 2005 Share 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 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