- Code: Select all
tell application "IndigoServer"
if on state of "Loudspeaker2" is true then ...
I get the error "can't get On state of Loudspeaker2"
What am I doing wrong here?
TIA
tell application "IndigoServer"
if on state of "Loudspeaker2" is true then ...
dev = indigo.devices[IDOFDEVICEHERE]
if dev.onState:
# Do whatever here
tell application "IndigoServer"
if on state of device "Loudspeaker2" is true then ...
Users browsing this forum: No registered users and 10 guests