plastovicka / HotkeyP

36 stars 7 forks source link

Question about loading hotkeys. #8

Open AlanEdd opened 2 weeks ago

AlanEdd commented 2 weeks ago

Hey there, Is it possible to dynamically load hotkeys from command line? This doesn't work but follows the syntax of the documentation. It would be great to swap out sets of hotkeys using streamdeck for example.

hotkeyp -open hotkeys "...aed_mainHotkeys.htk"

Also is there any commandline help flags?
eg. hotkeyp -? / --help

Thank you!

plastovicka commented 2 weeks ago

Hotkeys can be loaded only from the menu File - Open hotkeys... (Ctrl+O). There are no commandline help flags.

AlanEdd commented 2 weeks ago

I found a way to do it using your own tool! So I can have a one hotkey switch between different hotkey sets for different apps. This is a .bat file, called silently from a shortcut. Loads hotkeyP opens dialog and selects the correct hotkeyset, then kills the window.

image