hi everyone,
what i wanna do is have several checkboxes that the user can check depending on what he wants to do.
so, i have three actions, each action can be chosen to be done or not. so my basic question is, how do i combine three of these checkboxes into one if statement?
eg.:
if (string value of button "permit_robots" of window "window") = "1" then say "It Worked"
that would be one statement, but now i want something like this:
if (string value of button "permit_robots" of window "window") = "1" & (string value of button "permit_robots2" of window "window") = "1" & (string value of button "permit_robots3" of window "window") = "1"then then say "I will do all actions!"
meaning, the final action depends on what combination has been selected. so lets say i just selected the first thing, then the action to be done would look like this:
if (string value of button "permit_robots" of window "window") = "1" & (string value of button "permit_robots2" of window "window") = "0" & (string value of button "permit_robots3" of window "window") = "0"then then say "I will only do action 1"
is something like that possible? or did i just miss some basic thing? lol
huge thanks!