Sulfuri Posted June 7, 2012 Share Posted June 7, 2012 (edited) I'm just getting into the scripting scene and do not really have alot of experience with programming. That said i was wondering if their is any alternativ to ControlClick? I'm trying to make a simple .exe launcher but i can't get the"controll ID" for the buttons i need my script to press. (Everything execpt the "Window" tab is blank in Au3Info). So anyone know of an alternate way to make the script press a certain button? Edited June 7, 2012 by Sulfuri Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 7, 2012 Share Posted June 7, 2012 Well you could Send() however many TABS it takes to give focus to that control, then Send() a SPACE to 'press' that button. You would need to WinActivate() the window first to make sure it's active, unless you're sure that it'll already be active. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
JohnOne Posted June 7, 2012 Share Posted June 7, 2012 What is the app with "buttons i need my script to press"?Perhaps it's already been done. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Sulfuri Posted June 7, 2012 Author Share Posted June 7, 2012 That works great, thanks mate! Link to comment Share on other sites More sharing options...
Sulfuri Posted June 7, 2012 Author Share Posted June 7, 2012 (edited) Well you could Send() however many TABS it takes to give focus to that control, then Send() a SPACE to 'press' that button. You would need to WinActivate() the window first to make sure it's active, unless you're sure that it'll already be active.That works great, thanks mate!What is the app with "buttons i need my script to press"?Perhaps it's already been done.Well i'm just trying to learn Sorry for the double post. Edited June 7, 2012 by Sulfuri 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