Toggle button

Posted on
Sun Aug 06, 2017 2:50 am
pocster offline
User avatar
Posts: 276
Joined: Nov 15, 2014

Toggle button

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

Posted on
Sun Aug 06, 2017 3:15 am
marketability offline
User avatar
Posts: 198
Joined: Dec 08, 2015
Location: UK

Re: Toggle button

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

Posted on
Sun Aug 06, 2017 3:35 am
pocster offline
User avatar
Posts: 276
Joined: Nov 15, 2014

Toggle button

Hey

Thanks for the info .
I'm not 100% sure but let me experiment!!

Posted on
Sun Aug 06, 2017 5:59 am
marketability offline
User avatar
Posts: 198
Joined: Dec 08, 2015
Location: UK

Re: Toggle button

let me know if you get stuck

pocster wrote:
Hey

Thanks for the info .
I'm not 100% sure but let me experiment!!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest