Documentation
¶
Overview ¶
Command globalhotkeyprobe is a live-verify harness for the system-wide global hotkey API (pre-rebrand tracker #518, desktop.GlobalShortcutApp). It registers Ctrl+Alt+K and logs each time the shortcut fires — even while another application is in the foreground, which is the whole point of a global hotkey.
Modes:
globalhotkeyprobe interactive: press Ctrl+Alt+K yourself
globalhotkeyprobe -auto self-driving (Windows): steals foreground with
Notepad, synthesizes the keypress, spawns a
second process to prove a conflict errors, then
reports PASS/FAIL and quits
globalhotkeyprobe -conflict register the same shortcut and print whether it
conflicts with an already-running holder, then
exit (used as the child of -auto)