Sign in to follow this  
Followers 0
aagnone3

How to get checkbox state of NON-USER-CREATED GUI?

4 posts in this topic

I am trying to get the state of a checkbox on a pre-existing GUI. I have already tried GUICtrlRead(), but the return is 0, regardless of the checkbox state. Does anyone know a way to accomplish this? Please note that this is for a generic, pre-existing GUI that is NOT created through AutoIT.

Share this post


Link to post
Share on other sites



Add the code you are using

Add the output of the 'control' tab, when targeting the checkbox throught the "autoit window info tool)

The actual funciton you would use is:

ControlCommand

"ischecked" option


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Yeah, some checkboxes in listviews can't be seen by autoit.

If it's a standalone checkbox, you should be fine.


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

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  
Followers 0