Forums > MaxMSP

num VS key

January 6, 2008 | 10:52 am

Hello,

I’d be happy to drag my [numbox] to choose a value, then to select some function by pressing a [key].
Unfortunately, I can’t do this second action because the numbox stays "lighted" and waits for a new entry.
Is there a way to avoid this ?

max v2;
#N vpatcher 10 59 490 316;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 86 35 192 196617 drag number then press "1" : impossible;
#P button 285 151 15 0;
#P button 87 140 15 0;
#P number 87 76 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 264 151 15 0;
#P newex 264 120 53 196617 sel 49 50;
#P number 264 96 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 264 71 40 196617 key;
#P comment 240 124 24 196617 "1";
#P comment 103 142 77 196617 to any function;
#P connect 6 0 7 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 4 1 8 0;
#P pop;


January 6, 2008 | 8:35 pm

This issue can be solved with scripting. Create a new numberbox, select it, delete it. Xdesel, part of subxall abstractions collection (jvkr.nl/shelves) does this.

_
johan


Viewing 2 posts - 1 through 2 (of 2 total)