Changing a number box value with the "key" object

Oct 23, 2013 at 8:26am

Changing a number box value with the "key" object

Greetings,

This may be a simple solution, but I can’t figure out anyway to get it to work. What I would like to do is make a the a number in a “number box” increase by one each time I hit the up arrow key on my computer. I’ve used the key command and have attempted using the + object but it still won’t work. Does anyone know how to do this?

#268895
Oct 23, 2013 at 8:31am

<code>

– Pasted Max Patch, click to expand. –

</code>

#268897
Oct 23, 2013 at 8:33am

Wow, that’s great! Thank you very much Tobias!

#268898
Oct 23, 2013 at 8:48am

another way:
<code>

– Pasted Max Patch, click to expand. –

</code>

#268900

You must be logged in to reply to this topic.