win2k Posted August 1, 2006 Share Posted August 1, 2006 I was wondering if Autoit is able to figure out what checkbox it currently has selected? Is there like a command to check that? Link to comment Share on other sites More sharing options...
eynstyne Posted August 1, 2006 Share Posted August 1, 2006 I was wondering if Autoit is able to figure out what checkbox it currently has selected? Is there like a command to check that? I'm not sure if there is, but here is a workaround... if $checkbox = $GUI_CHECKED then ;;; endif Where $checkbox is the checkbox control... Now as for a single command, I'n not sure, but this should do the same F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent] Link to comment Share on other sites More sharing options...
win2k Posted August 1, 2006 Author Share Posted August 1, 2006 I'm not sure if there is, but here is a workaround... if $checkbox = $GUI_CHECKED then ;;; endif Where $checkbox is the checkbox control... Now as for a single command, I'n not sure, but this should do the same I found something that works better, I just used the Autoit window info for a Control ID on the active window and ConrtolFocus() to select the one that i needed Thanks though Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 1, 2006 Moderators Share Posted August 1, 2006 Beta + GUICtrlGetState(), there's an exact example there that your asking about. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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