Simple Keyboard control of a slider

stevieblaze's icon

Hey Guys

This is a really dumb question. I'm trying to create a slider that is control via the arrow keys on a keyboard. I've managed to to increment the slider using the right arrow key, its subtracting from the slider using the left arrow key that is proving somewhat challenging for my (extremely) limited max skills.

Basically i'm trying to create a slider (say that goes between 0 and 10) that when the left arrow key is pressed 0.1 is subtracted from the slider value and when the right hand key is pressed 0.1 is added to the value. I would also like the slider to keep having its value changed with multiple presses of the same arrow key.

Many Thanks

Roman Thilenius's icon

[110.keybutton] and [110.indec] will do this.

there is an 110 for everything.

-110

1688.stevieslider.zip
zip
stevieblaze's icon

Many Thanks for those... at the risk of sounding incompetent, how would these be implemented for my needs.

ergaster's icon

hi stevie

Max Patch
Copy patch and select New From Clipboard in Max.

or using basic max objects:

hth
rob

stevieblaze's icon

Excellent! That was exactly what i was looking for, knew it would be simple. Many Thanks Ergaster!