ckeate Posted August 11, 2010 Share Posted August 11, 2010 I have been trying using AutoIt V3 Window Info to determine what type of control I need to automate a certain program. My problem is I can't find any examples of how to "enable" a play button on the GUI. I have the Class as a button Insatnce 29 Classname NN Button29 Once I launch the program how do I push this control? This seems like it would be a very common command, but I can't seem to find it in examples or in documentation. Help!!!! Ckeate Link to comment Share on other sites More sharing options...
omikron48 Posted August 11, 2010 Share Posted August 11, 2010 (edited) Have you tried looking at GUICtrlSetState? The native functions are named appropriately so it's easy to find relevant functions. Have you also tried looking through the help file index? GUICtrlSetState is located under "Function Reference -> GUI Management -> Gui Control update". Just how much sensible effort have you spent trying to look for it? EDIT: Wait, just what do you mean exactly when you say "enable"? Enable as in to enable a disabled control? Or do you actually want to "push/press" a button? Your post is badly worded. If it's the latter, you want to look at ControlClick. Edited August 11, 2010 by omikron48 Link to comment Share on other sites More sharing options...
ckeate Posted August 11, 2010 Author Share Posted August 11, 2010 Have you tried looking at GUICtrlSetState? The native functions are named appropriately so it's easy to find relevant functions.Have you also tried looking through the help file index? GUICtrlSetState is located under "Function Reference -> GUI Management -> Gui Control update".Just how much sensible effort have you spent trying to look for it?EDIT: Wait, just what do you mean exactly when you say "enable"? Enable as in to enable a disabled control? Or do you actually want to "push/press" a button? Your post is badly worded.If it's the latter, you want to look at ControlClick. Link to comment Share on other sites More sharing options...
ckeate Posted August 11, 2010 Author Share Posted August 11, 2010 I'am a tyro when it comes to this. By enable I meant click the button. I did spend a lot of time looking for simple example. Thanks for your help Link to comment Share on other sites More sharing options...
Bert Posted August 11, 2010 Share Posted August 11, 2010 Is the control in a program that you designed or is it a EXE that is running and you wish to control it? The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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