Jump to content
Sign in to follow this  
ckeate

Running other GUI's

Recommended Posts

ckeate

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

Share this post


Link to post
Share on other sites
omikron48

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 by omikron48

Share this post


Link to post
Share on other sites
ckeate

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.

Share this post


Link to post
Share on other sites
ckeate

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.