ranjit Posted June 2, 2005 Share Posted June 2, 2005 Hi. Can I read the state of a checkbox in a window? I tried the GUICtrlRead (controlID), but it's not working. my requirement is : I need to read the state of a checkbox in 'Properties' window of file/folder. It is mentioned in the help of autoit that 'ControlID' of GUICtrlRead () is the one returned by GUICtrlCreate..(). Does this mean GUICtrlRead () works only with the controls created using autoit script? Thanks, Ranjit Link to comment Share on other sites More sharing options...
Helge Posted June 2, 2005 Share Posted June 2, 2005 (edited) That's true, GUICtrlRead only works for controls created bythe script, so what you need to use is ControlCommand.Example :ControlCommand("WindowName", "", "ControlName", "IsChecked", "")Edit : Oops, didn't see that there was already an answergiven in the other topic..Good luck ! Edited June 2, 2005 by Helge Link to comment Share on other sites More sharing options...
jpm Posted June 2, 2005 Share Posted June 2, 2005 Hi.Can I read the state of a checkbox in a window?I tried the GUICtrlRead (controlID), but it's not working.my requirement is :I need to read the state of a checkbox in 'Properties' window of file/folder. It is mentioned in the help of autoit that 'ControlID' of GUICtrlRead () is the one returned by GUICtrlCreate..().Does this mean GUICtrlRead () works only with the controls created using autoit script? Thanks,Ranjit<{POST_SNAPBACK}>Ranjit this forum is not a place to ask question. but to share the good way to use AutoIt.I see you have use too the "V3 support" which is the right placeThanks for using AutoIt Link to comment Share on other sites More sharing options...
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