Good morning,
New to Indigo and Applescript and was hoping that someone could help me with this basic task so I can begin to get a handle on scripting within Indigo.
I want Indigo to interrogate a particular device, in this case a garage door, to determine if it is closed using an IF...THEN. Being an I/O Linc with Sensor I don't think that I am able to just issue a close command, as it only serves as a toggle switch. In Indigo, I know I can programmatically do it using a trigger (as seen below) but I wish to create a "Good Night" Script that will reach out to all the devices in my house and turn off/lock/close/etc and seems a script would be the easiest way to accomplish this.
The trigger I have set up for this first simple task, the one I wish to convert to AppleScript is as follows: Trigger: "SMS" receivedText becomes equal to GoodNight, Condition: If Garage 1 binaryInput is false, Action: turn on Garage 1 output 1.
Many Thanks!