Hi Marco, also maybe it would be easier to handle launching commands inside of OnKeyDownEvent/OnKeyUpEvent , bypassing the regular keyboard shortcut launcher. To do that set event.handled = true; that will prevent Moi from doing anything further with that key event.
Your event handler can call moi.command.execCommand( 'command_name' ); to launch a command itself.
- Michael
|