dufran3 Posted October 23, 2006 Share Posted October 23, 2006 (edited) I have successfully been able to create my own GUI, and create checkboxes, and read whether they are checked or not. I can't figure out how to read the state of a checkbox in a window that is built into windows...If ya know what I mean. I am trying to check to see if this check box is checked, if it is, check it, if not do nothing. Thanks! Run('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,5') WinWait('Display Properties') ControlCommand ('Display Properties', '', "SysTabControl321" , "tabright") WinWait('Display Properties','Customize &Desktop...') ControlClick('Display Properties','','Button3') WinWaitActive('Desktop Items') $MyDocsState = GUICtrlRead(30077) ;not sure where to go from here as I tried to MsgBox out $MyDocsState and it is always 0, whether checked or not. Arg... Edited October 23, 2006 by dufran3 Link to comment Share on other sites More sharing options...
GaryFrost Posted October 23, 2006 Share Posted October 23, 2006 look up ControlCommand in the help file SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
dufran3 Posted October 23, 2006 Author Share Posted October 23, 2006 Thx, got it! 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