A helper program that can invoke global hotkeys and chords
Chords: Basically, you press a global hotkey, and can then press a second key combination to invoke a chord.
Because hotkeys are global to the computer, you can't take anything that's already taken. But chords are local to the Hotkeys program, so they only need to be unique for their parent hotkey.
You also can't define a hotkey to use F12. This is a Windows restriction.
Hotkeys are defined by a hotkeys.ini file. The path to this file must be passed to Hotkeys.exe when it is run. There's an example in this directory.
Can be any of the below
- process: Executes "path" as an executable directly.
- shell: Uses the operating system shell to open "path".
- chord: Shows a window which allows a second hotkey to be pressed. This type can only have "key" and "mods" as it doesn't execute anything by itself.
A path to the file that is executed. When type is process, it should be an executable. When type is shell, it can be any file.
The arguments to pass when executing. The string {clipboard} will be replaced with the text that's currently on the clipboard.
The key to press to invoke the hotkey. Must be one of the keys in keycode.cfg.
Any modifier keys held while invoking the hotkey. Has to be a string, and contain any of...
- Ctrl
- Shift
- Alt
- Win