Jump to content

button problem?


 Share

Recommended Posts

Well, I am making a script that automates an install.. There is some buttons you have to click such as cancel, and ok. I want those buttons to be clicked, when finished.(I know how to do it when its finished I just dont know how to make it click the button)

I also don't want it to move the mouse.. this possible?

Link to comment
Share on other sites

Hmm.. Confused with the "Control" thing they link me.. Can you give me an example of the controlclick?

Just use it instead of Send():

ControlClick("YourApplicationWindowName", "", "[CLASS:Button; INSTANCE:2]")

You can use AU3Info to focus on the button to get the correct INSTANCE number, as each could have a different one on the page.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...