
Re: exio2x4 analog and applescript
anode wrote:Can applescript change the ON/OFF values of the analog inputs?
All of the EZIO device input states are read-only since they are inputs. The outputs can be changed, which will cause Indigo to send a command to the EZIO to turn the output on or off. But the EZIO doesn't let you set the input values, so Indigo has those AppleScript fields marked as read-only.
You can read the input values out as either binary or analog. Here is a binary example:
- Code: Select all
set secondBinaryInput to item 2 of (get binary inputs of device "EZIO8T")
And here is an analog (integer) example:
- Code: Select all
set firstAnalogInput to item 1 of (get analog inputs of device "EZIO8T")
Regards,
Matt