TheOrignl Posted November 29, 2008 Share Posted November 29, 2008 (edited) I've been searching the AutoIt help and these forums for quite sometime and can't find how to do something I'm sure is very simple. I'm trying to read the text portion of a Checkbox so I can use it in an if block. Would someone point me in the right direction here? Edited November 29, 2008 by TheOrignl Managing the complexities of our daily lives is always our own responsibility; Allowing God to help us and accepting His guidance is our choice. The best choice! Link to comment Share on other sites More sharing options...
Malkey Posted November 29, 2008 Share Posted November 29, 2008 I've been searching the AutoIt help and these forums for quite sometime and can't find how to do something I'm sure is very simple. I'm trying to read the text portion of a Checkbox so I can use it in an if block. Would someone point me in the right direction here? This works.Local $checkCN GUICreate("My GUI Checkbox") $checkCN = GUICtrlCreateCheckbox("CHECKBOX 1", 10, 10, 120, 20) GUISetState() MsgBox(0, "", GUICtrlRead($checkCN, 1)); Link to comment Share on other sites More sharing options...
TheOrignl Posted November 29, 2008 Author Share Posted November 29, 2008 This works.Local $checkCN GUICreate("My GUI Checkbox") $checkCN = GUICtrlCreateCheckbox("CHECKBOX 1", 10, 10, 120, 20) GUISetState() MsgBox(0, "", GUICtrlRead($checkCN, 1)); Thank you Malkey. Must have come back to that function half a dozen times and never found that remark. Thanks again. Managing the complexities of our daily lives is always our own responsibility; Allowing God to help us and accepting His guidance is our choice. The best choice! 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