April 6, 201610 yr Hi, i made a new instance of "KeyboardHook" private KeyboardHook _hookKeybindings = new KeyboardHook(); // Subscribe this._hookKeybindings.KeyPressed += HookKeybindings_KeyPressed; // Register this._hookKeybindings.RegisterHotKey(ModifierKeys.Alt, Keys.R); Result in the log: "[Keyboard Hook] Couldn’t register the hot key." Any clue why it can't register this key binding? All the sub + reg is in the init method. Thanks, iMod
April 7, 201610 yr Hello, You get this message (Couldn...) all the time? Even at the first WRobot start (after compturer (re)start?) If yes, this keybinding is used by another software. If this works only the first time, it is because you don't dispose it, add this code before the end of your code: this._hookKeybindings.Dispose();
Create an account or sign in to comment