I have an application that checks to see if a check box is checked, if it is it runs a routine (an app install) and then goes on to the next checkbox.
Here is a section of code
If "[CheckBox3]" "<>" "checked"
GotoLine "54"
Else
If "[CheckBox3]" "=" "checked"
Run "G:\Citywide\XXX\XXX\XXXXs\XXXXX\XXXXX\Setup.exe" "-qb G:\Citywide\XXXX\XXXXX\XXXX\XXXX\XXXXX\XXXXSetup_MST" "RunOnce+Wait" "" ""
Delay "200"
GotoLine "54"
If "[CheckBox4]" "<>" "checked"
GotoLine "59"
Else
If "[CheckBox4]" "=" "checked"
Run "C:\Program Files\Internet Explorer\iexplore.exe" "http://XXXXXX/Inspections/publish.htm" "Wait+LoadComplete" "" ""
GotoLine "60"
If "[CheckBox5]" "<>" "checked"
GotoLine "66"
Else
If "[CheckBox5]" "=" "checked"
DOSCommand "msiexec" " /i G:\Department\XXX\XXXX\XXXXX\XXXXXs.msi" "RunOnce+Wait"
GotoLine "66"
currently the only way I have managed to get this to work is to have it check to see if the specified checkbox is checked, if not than go to a specific line, (check the next checkbox)
and so on, with an "else" command, if it is checked.
is there a better way to do this?