First, Second, etc, buttons pressed
I want to do a patch that understands which button i press for first... Who can help me?
For Example if I press buttons in this combination
It depends somewhat on what you want to do with that information, how long to remember it, etc. Here's a patch that keeps an ordered list of what buttons were pressed:
example result
MZED do you use max for live?
i don't have zl.join :( Where i can find it?
zl.join: No such object
no help file found for zl.join :( :(
The "dot" naming for zl is new w/ Max 6. Change it to "zl join" instead of "zl.join"
ok it works dotless, nut the patch i want the reverse function:
wneh i press a new button, in the message it joins on the left, i want to add it on the right
Look through the whole zl help file, it's a really powerful object. Some combination of [zl slice] and [zl rot] should fix you up.
I mean that when I click a TextButton the value joins ON THE RIGHT, not on the left...
but i can't find a soultion.... i had a look in the zl help file, but i can't find....
Now that I see your example, I might do something like this:
(copy-paste that blob into a max patch)
MZED I LOOOVE YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU!!!!!!!!!!!!!!!
IT'S PERFECT!!!!!
:D
Please last thing: if in the sequence I want to switch off only one button?
Ok for delete just one for time i've do this
but if I want to re-add (in the deleted box) one different value?
I would like to do a cycle on improvised combinations... limitless.... a cycle of combinations..
for example in my patch i can't re-add the same box value after delete.... :(
1) Read this about pasting patches.
https://cycling74.com/forums/welcome-to-the-cycling-74-forums-take-a-moment-to-read-these-instructions/
2) The patch I wrote assumed the user would click each of the top buttons once, and only once. That might be wrong -- but, I'm not sure what you are after. After turning off ever occurrence of "B", for example, you want to turn on a different switch at that position? Or, start with four new values?
I've made this, but i don't like... Works very bad...