Jump to content

Recommended Posts

Posted

I'm auto-installing a program that has options that you can check.

E.G.: Do you want to add a shortcut to your desktop?

and you can check the box.

I want to say, if (box_is_checked) dont check it...

How do i do that?

Posted

Hi Damastah,

Use this... BitAnd(GUICtrlRead($Item),$GUI_CHECKED) and see GUICtrlRead function in help file for more details.

Notice that $Item is the CtrlId of the control you want to check.

Bye

FreeRiderHonour & Fidelity

Posted

I'd imagine that rather than doing

if box is checked

uncheck box

you could just set the box to "unchecked" from the start. if it was already unchecked..who cares? :)

Posted

I think he means on an external application (A non-Autoit generated GUI)

I'll be back with some code in a minute (Unless someone beats me to it)

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
  • Recently Browsing   0 members

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