Is there a way to "return" a value to a text property based on an If condition? For example, display "Speaking" if the hs.IsSpeakerBusy command returns True? Something like:
Text: [$SCRIPT=&if hs.IsSpeakerBusy then "Speaking" else "Not Speaking"]
Also, can an image be displayed based on the same. Display one graphic if hs.IsSpeakerBusy is true, and another if it's false. I know I could create a work-around by setting a HS device value based on a script, but I have several similar things (phone off hook, media playing, audio muted, etc.) and was looking for the best way to implement.
Text: [$SCRIPT=&if hs.IsSpeakerBusy then "Speaking" else "Not Speaking"]
Also, can an image be displayed based on the same. Display one graphic if hs.IsSpeakerBusy is true, and another if it's false. I know I could create a work-around by setting a HS device value based on a script, but I have several similar things (phone off hook, media playing, audio muted, etc.) and was looking for the best way to implement.
Comment