Jump to content

CheckBoxes


 Share

Recommended Posts

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

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

  • Moderators

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...