Hi,
I’m new to the world of scripting and could do with a pointer. Despite searching i’m still unsure of the correct syntax. Not even sure if i’m supposed to be using Python or Applescript?
I know this is incredibly simple script. Basically I want a script to check if a device is On, if so switch it off. I will then repeat this for multiple devices. It’s to be actioned from a trigger so I don’t have to create a separate trigger with condition and action for each device.
Thanks for your help