hello
when I write in listener :
----------
kbb = getKBChar()
case kbb of
(
"a": print "ok"
)
-----------
it is ok , but when I want to run these lines in a ".ms" it don't work...
Anybody can explain ? Thanks.
Forum topic · General Scripting
keyboard problem
By titane357 · 2011-08-02
Description
Comments (3)
not good one
Anubis · 2011-08-02
something like...
while not keyboard.controlPressed do OK..will lock the script to wait and do nothing until you press Control key. But their only 4 keys monitored (Ctrl, Alt, Shift, Esc) and its a cripple solution at all.
titane357 · 2011-08-03
Thanks Anubis, it was a bad idea... (in max)
titane357 · 2011-08-02
ok, understand = I need to click in the listener...
Is there a way in maxscript to wait a key to be pressed and call a tool accordind to the pressed key ?