Jump to content

Can't read state of Radio Button using ControlCommand "IsChecked"


Recommended Posts

I am unable to read the status of a Radio Button on the application I am trying to control.

NOTE: this is not an AutoIT GUI.

The command string I am using is

CODE
$status = ControlCommand ( "MyCustomApp", "", "[CLASSNN:WindowsForms10.BUTTON.app.0.33c0d9d15]", "IsChecked", "" )

$status always returns 0 regardless of the state of the radio button

When I use AutoIT v3 Window Info, Select the Control tab and watch the Style Property I can see that the style toggles between

0x5601000B and

0x5600000B

I could not find a function that allowed me to read the 'style' of a command.

Do I have a problem with my Syntax, or should this be entered as a bug / feature request?

Link to comment
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
 Share

  • Recently Browsing   0 members

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