I'm looking to change button elements in a module:
Trying to change the "on" value. Any got any ideas? I can't seem to find it..
1 Like
Assuming you're using a custom module, here are two ways of doing it:
- edit the session using remote control messages, for example
receive('/EDIT', 'button_id', {on: 42})
- put an osc listener in the property :
OSC{foo, 40
}
and feed it from the custom module:
receive('/button_address/foo', 42)
Thank you Jean!
Is there any benefit for #2 method? Or is it simply a different approach. Otherwise #1 seems easier to implement and works well for me.
#1 affects the session, changes may be saved (see this thread to avoid the warning when quitting), with #2 the session doesn't change, only the state of the properties.
Got it, thank you!!! Sorry about the noob questions, absolutely love this software