Page 1 of 1

Ctrl button, select many fonctions and send them all at once

Posted: 11 Dec 2015 20:57
by Psyka
Hi everybody.

I try to do something with the lemur app.
I would create a "Select button", to select many fonction I made. And I would launch them all at once. I make a gif to illustrate that :)

Is this fonction already exist?

Thank you everyone and sorry for my english.

Re: Ctrl button, select many fonctions and send them all at

Posted: 24 Dec 2015 06:11
by ndivuyo
I believe what you want is possible but a little hard to help as I don't know exactly what kind of 'function' you are launching.

Calling a scripted function is like many other languages, simply type the function name with parenthesis and any arguments required
Example:
myFunction(argument1, argument2);


Maybe you are just trying to 'turn on' multiple switches or something similar at once? To do that you can manage it in a script. You should look into basic scripting with lemur. There are really many ways to do this. But basically you want to execute your code when you press the main switch/button/pad. This is through something called an event handler script (or a similar title). You just need to make a script that executes on the expression of pressing the button (most likely 'x'). Then inside that script you will write the necessary code to turn on the other values (probably something like: mySwitch.x = 1;)

If it is another kind of 'function' or something I am missing, let me know
Hope that helps

Re: Ctrl button, select many fonctions and send them all at

Posted: 28 Dec 2015 21:54
by Psyka
Hi Ndivuyo.

I would thank you very much for your help. I will try to work on this way.
Ans when you say :
"Maybe you are just trying to 'turn on' multiple switches or something similar at once".
It's exactly what i'm looking for.

Thank you and I wish you a very happy festive season.