Pass key messages to dialog message loop

This is similar to Script Dialog: Assign keys to buttons, but I was wondering whether it'd be possible to pass key down/up events to the dialog message loop so that instead of using an accelerator Alt+F &F for some button you could simply observe key events and activate the button's effect yourself.

Just like you can bind single keys without modifiers in DOpus itself

Dialog.AddHotkey lets you set up hotkeys in a script dialog.

1 Like