Sign in to follow this  
Followers 0
rawrr

button problem?

5 posts in this topic

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?

Share this post


Link to post
Share on other sites



Check the helpfile for ControlClick() :)


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Ty. I figured it out before though. =]

Share this post


Link to post
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
Sign in to follow this  
Followers 0