Hot keys of Moi3D

 From:  tyglik
204.16 In reply to 204.15 
Hi Michael,

Thanks for helping.

>>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.

I have tried it and noticed that a keyboard shortcut is eaten by the keystroke only when defining scripts directly. For instance I set the shortcut I=script:moi.geometryDatabase.invertSelection();" then typing "bi" (the alias for BooleanIntersection in the "BoolLaunch.htm" file) triggers both Invert and BooleanIntersection command.

But there is way to trigger only the BooleanIntersection command by typing alias in case I make the "Invert.js" file with a script for inverting selection, copy it to the \commands directory and define the shortcut "I=Invert".
Unfortunately, it causes that the shortcut "I" cannot be used further to invert a selection from within running command since it aborts current one.

Anyway, I guess there are more important things to do for V1,V2 than an issue of aliases...

Petr