Pads and scripting
Posted: 07 Sep 2017 13:00
Hi.
I'm quite new to Lemur, already read the manual, but i still stuck on a simple thing (i guess).
I have a "Pads" object. On the "On Pad Release" event i need to set the selected index to another object "SourceContainer", which have a value named "numSource".
For this i wrote :
But the /SourceContainer/numSource never change. it's always stay at 0;
The SourceContainer target is set to "osc 7".
I'm quite sure that it should be trivial, but i can't figure why it just not work.
Any help would be appreciated.
Thanks.
I'm quite new to Lemur, already read the manual, but i still stuck on a simple thing (i guess).
I have a "Pads" object. On the "On Pad Release" event i need to set the selected index to another object "SourceContainer", which have a value named "numSource".
For this i wrote :
Code: Select all
oscout(7, '/SourceContainer/numSource', x+1);
selecttab(SourceContainer, 1);
selectinterface(3);
The SourceContainer target is set to "osc 7".
I'm quite sure that it should be trivial, but i can't figure why it just not work.
Any help would be appreciated.
Thanks.