Referencing objects with strings
Posted: 17 Sep 2012 19:16
Is there a way when scripting in Lemur to reference an object with a string?
For example if I have a grid of buttons:
container.button1
container.button2
container.button3
how can I reference them programmatically based on an input from another control/midi cc, eg:
container.button(MIDI_ARGS[0])
There doesn't seem to be any mention of this in the manual, and I've tried everything I can think of!
Many thanks!
Rufus
For example if I have a grid of buttons:
container.button1
container.button2
container.button3
how can I reference them programmatically based on an input from another control/midi cc, eg:
container.button(MIDI_ARGS[0])
There doesn't seem to be any mention of this in the manual, and I've tried everything I can think of!
Many thanks!
Rufus