Jump to content

Recommended Posts

Posted

How can I have the script check if a checkbox is checked then perform an action?

$chkbox1=GUICtrlCreateCheckbox("Checkbox1",25,25)

If $chkbox1 = $GUI_CHECKED Then ;IT ERRORS ON THIS LINE

MsgBox(4096, "Box1 checked", "Box1 is checked.")

Else

MsgBox(4096, "Box1 not checked", "Box1 is not checked.")

EndIf

Thanks!

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...