Jump to content

Recommended Posts

Posted

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

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

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.

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...