JacobSerraf Posted February 5, 2014 Posted February 5, 2014 Hi, I'm trying to get the state of a radio button (check box) with the following attributes (got by AutoIt Window Info: ClassNameNN : Button60 Style : 0x50000000 The app I'm trying to acess is written in WinDev. I spent hours to find this but with no success. As this style is not in the list of Constants, I cannot get the status of the check box. Is there a way to get the state of the checkbox anyway ? Thanks a lot for your help. Jacob
FireFox Posted February 5, 2014 Posted February 5, 2014 (edited) Hi, What I have you tried so far? Take a look at the ControlCommand function. Does the style change when it's checked/unchecked? The style showed is a byte addition of all the styles of the radio so it's normal you haven't found it in the constants. Br, FireFox. Edited February 5, 2014 by FireFox
JacobSerraf Posted February 5, 2014 Author Posted February 5, 2014 With ControlCommand function, there are only the "Check" function that works, the "IsChecked" function doesn't work. When check/uncheck it, the style remain the same 0x50000000. I've tested many other functions, like _GUICtrlButton_GetCheck, with no success. Thanks for your time. Jacob
FireFox Posted February 5, 2014 Posted February 5, 2014 If no one gives a reliable answer you can still use the PixelGetColor function to check if the radio is checked or not but is has some disadvantages like the window must be visible and the color must be the same on all the computers your program is running.Br, FireFox.
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