General
pad and custombutton change states
Started by frz on .
Sign in or create an account to join the conversation.
As I am pretty sure this is a simple question for many people, first, excuse me, I am a newbie.
So, I want a custombutton to change his state each time I touch a pad (I do not want a clone : when I press the pad, cbutton turn off and stay off, when I hit again the pad, cbuttom turn on and stay on).
It seems simple, but I spend time on my lemur, and doesn't find the good script by myself.
Any help ?
So, I want a custombutton to change his state each time I touch a pad (I do not want a clone : when I press the pad, cbutton turn off and stay off, when I hit again the pad, cbuttom turn on and stay on).
It seems simple, but I spend time on my lemur, and doesn't find the good script by myself.
Any help ?
Here's an example! The script "looks up" the state of the custom button and changes it accordingly...Notice the detail here that the script is executed only when x rises from 0 (up arrow, only the press of the pad is "caught", not the release)
pad-changes-button.jzml
pad-changes-button.jzml
Oh thanks very much ! I was so into scripting that I didn't even think the answer was in the execution of the script. Sometimes, I do not see what is right in front of my nose 