Notifications
Clear all

[Closed] key_IsPressed

i can’t find a way to use “press & hold ” key through maxscript

to be clear , is there a way to use let’s say “spacebar ” press and release to a function
and press and hold to a different function ?

5 Replies

instead of

on btnMybutton pressed do

try

while btnMybutton pressed do

Oh… oops sorry. I didn’t read your clarification well enough. Disregard that last post.

You’re going to need the script extension called “Power Button” By Chris Johnson.
http://www.maxplugins.de/max8.php?range=MAXScript%20Extension&sort=Author

supremepizza thanks for help , i have to test that little late tomorrow cause i’m away from my pc , but from the first look it seems that it extends the moue options only … not the keyboard as well

To my knowledge there is no way to do this with keyboard buttons.

Sorry I couldn’t help more.
Bill