netnet227 Posted March 16, 2009 Posted March 16, 2009 I have an external program, i tried to use GUICtrlRead to get its checkbox state: Debug("aaaaaaaaaaa:" & GuiCtrlGetState("TCheckBox2")) Debug("bbbbbbbbbbb:" & $GUI_UNCHECKED) Debug("ccccccccccc:" & $GUI_CHECKED) If BitAND(GUICtrlRead("TCheckBox2"),$GUI_UNCHECKED)=$GUI_UNCHECKED Then Debug("checking the checkbox"); GUICtrlSetState("TCheckBox2", $GUI_CHECKED) EndIf but i found whatever the state it is, it always get 0 which is not right. i checked the forumn, most of the post is about the "autoit created" control. i believe autoit can read EXTERNAL control as well, but how?
Developers Jos Posted March 16, 2009 Developers Posted March 16, 2009 (edited) Looks like you are trying to set/read the status of an external GUIs Checkbox control? Check the ControlCommand() in the Helpfile for that. Jos Edited March 16, 2009 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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