Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...