I really need some help converting this simple AppleScript in python or a workarround without scripting.
The virtual device "Musiccast Badezimmer" has to be toggled by calling 2 action groups.
- Code: Select all
tell application "IndigoServer"
if on state of device "Lautsprecher Badezimmer" is false then
execute group "Musiccast Badezimmer On"
else
execute group "Musiccast Badezimmer Off"
end if
end tell
I am really frustrated having such problems to convert one simple If then else statement to python and why do I even have to script such a simple thing?
What am I missing?
TIA
Wilhelm