crazycomposer wrote on Mon, 08 June 2009 15:50Hi guys! I'm a student and new to Max/MSP. Anybody can help me if I want to increase/decrease the value in number box by using up/down arrow keys? ? Thank you so much! I really appreciate.
a number box recieves up/down arrows by default as soon
as it is "selected" with the mouse.
the only little problem with this way is that it keeps
responding to the arrow keys (as well as digit keys) as
long as you do not click outside again.
if you want to create the connection of keyboard
and GUI element yourself, this is always possible,
or just multiply it by something... also look to % --> sel 0 to make mini-counters, or [key] [keyup] to have a keypress trigger a number to rise at a certain rate, then the key-release stops it. lots of ways to do that, with control over everything.
the right outlet of numbers can let you select the next number (or whatever else) when you hit Tab. since a recent update you can select [thispatcher] which will deselect any selected number box and give you back the keys it was watching.