I have an AS that executes fine if all 4 TVGlow variables are true, or if the 1st 2nd and 3rd are true, or even the first 2.
It will not work if just TV2Glow, TV3Glow or TV4Glow are true individually.
Any idea what I'm missing here?
- Code: Select all
tell application "IndigoServer"
if the value of variable "TV1Glow" is "true" then
execute group "TV VolUp"
if the value of variable "TV2Glow" is "true" then
execute group "TV VolUp"
if the value of variable "TV3Glow" is "true" then
execute group "TV VolUp"
if the value of variable "TV4Glow" is "true" then
execute group "TV VolUp"
end if
end if
end if
end if
end tell
Thanks for any help!
Carl