Troubleshooting

Pads and scripting

Started by Ziggy on .

Sign in or create an account to join the conversation.

2 posts

Topic starter
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 :
oscout(7, '/SourceContainer/numSource', x+1);
selecttab(SourceContainer, 1);
selectinterface(3);
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.