Toggle button
Posted:
Sun Aug 06, 2017 2:50 am
by pocster
Hey all
Sure this is simple but can't see how
I understand the image heuristics +.png
But how do I get 1 button on a control page to toggle between visible states ?
Must I script it somehow ???
I bet it's dead easy .... when you know !!
Cheers
Re: Toggle button
Posted:
Sun Aug 06, 2017 3:15 am
by marketability
I'll use a device state as an example but variable states works similarly...
if a device has an "on" state and an "off" state
create 3 images
1. "image+on.png" this one shows when the device is on
2. "image+off.png" this one shows when the device is off
3. "image+.png" this one shows when the device state is in error (its also the image you see when editing the control page)
copy the 3 images to the "/Library/Application\ Support/Perceptive\ Automation/Indigo\ 7/IndigoWebServer/images/controls/devices" folder
create a control page device state button and choose image 3 from the above
if a device/variable has more states/values - just create an image for each replacing "on" with the state/value
hope that helps
Toggle button
Posted:
Sun Aug 06, 2017 3:35 am
by pocster
Hey
Thanks for the info .
I'm not 100% sure but let me experiment!!
Re: Toggle button
Posted:
Sun Aug 06, 2017 5:59 am
by marketability
let me know if you get stuck
pocster wrote:Hey
Thanks for the info .
I'm not 100% sure but let me experiment!!