rawrr Posted March 29, 2008 Share Posted March 29, 2008 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 More sharing options...
monoceres Posted March 29, 2008 Share Posted March 29, 2008 Check the helpfile for ControlClick() Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
rawrr Posted March 29, 2008 Author Share Posted March 29, 2008 Hmm.. Confused with the "Control" thing they link me.. Can you give me an example of the controlclick? Link to comment Share on other sites More sharing options...
SPC Posted March 29, 2008 Share Posted March 29, 2008 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 More sharing options...
rawrr Posted March 29, 2008 Author Share Posted March 29, 2008 Ty. I figured it out before though. =] 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