Jump to content

Recommended Posts

Posted

Hi,

I have a script to do an auto install of VNC Server

However it has two options when installing the Viewer and the Server

I have the issue where when i do a record of the install its right but later it starts installing the viewer and bad stuff lol

Just wondering is there a way to tell it

If "box1" is ticked then Untick

then continue

If box 1 is unticked then continue?

Kind regards

Matthew Smith

Posted

You will have to use an if statement.

To determine if the checkbox is checked, I think BitAnd(GUICtrlRead($hControl), $GUI_CHECKED) will work. To set the state of the control, use GUICtrlSetState().

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
×
×
  • Create New...