custombutton styleon/styleoff via OSC

Discuss Lemur and share techniques.
Post Reply
sheen
Newbie
Posts: 9
Joined: 20 May 2012 22:03

custombutton styleon/styleoff via OSC

Post 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?
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: custombutton styleon/styleoff via OSC

Post 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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
sheen
Newbie
Posts: 9
Joined: 20 May 2012 22:03

Re: custombutton styleon/styleoff via OSC

Post by sheen »

Thanks MM I'll give that a go.
Post Reply