Hot keys of Moi3D

 From:  Michael Gibson
204.15 In reply to 204.13 
Hi Petr, there isn't any way to do that exactly right now. Right now keystrokes don't generate any particular scriptable MoI-specific events, since they are more intended to launch keyboard shortcuts from the moi.ini file.

I've attached one method - this is set up as a command, not a script, so set the keyboard shortcut as B=BoolLaunch (no .js at the end).

Note that you need to explicitly set focus on to the particular element so that it will receive keyboard events.

Still there is a problem - if you have any keyboard shortcuts set up for "i", "d", or "u", those will always get triggered with a keystroke and the shortcut will eat the keystroke so I don't think the regular HTML event will trigger in that case. There is a special case for this if you have a numeric input and your keystroke is a numeric character, it won't eat it in that case but there isn't a way to override shortcuts for other keystrokes right now.

- Michael
Attachments: