Page 1 of 1

custombutton styleon/styleoff via OSC

Posted: 10 Sep 2012 23:50
by sheen
Hi

I would like to change the text on a custom button named ba with a custom address of /A/ba

I've tried
/A/ba @style_on newtext
/A/ba @style_off newtext
/A/ba @label_on newtext
/A/ba @label_off newtext
/A/ba/style_on newtext
/A/ba/style_off newtext
/A/ba/label_on newtext
/A/ba/label_off newtext

plus all the above with /ba instead of /A/ba to no avail

Is this possible?

Re: custombutton styleon/styleoff via OSC

Posted: 11 Sep 2012 04:23
by Macciza
Hi
The 'custom address' applies to the selected variable not to the Object as a whole - so you have a custom x address
You simply need to address the object by it's name not the custom address and it should work
ie /CustomButton @label_off newtext

Or if /A is a Container containing a CustomButton called ba - which gives it an address of /A/ba, it should work . .

Also remember to use the 'attribute' so for the symbols it will be 'bitmap' so the OSC command is /Address @bitmap n n where n is the index number of the symbol you want

Hope that helps
cheers
MM

Re: custombutton styleon/styleoff via OSC

Posted: 11 Sep 2012 11:19
by sheen
Thanks MM I'll give that a go.