Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hotkeys doesnt work
#2
Some possible reasons, and how to fix or debug it:

Restart Quick Macros. Sometimes Windows disables a low-level hook because of timeout. These hooks are used for triggers.

In Options/Triggers, in the first list must be selected Keyboard. By default all are selected.

In Options/Trigger, Use low-level hook, try to uncheck Keyboard. Then Apply and test triggers. Check again if it does not help.

Run this macro to test whether low-level keyboard hooks work.

Function LL_keyboard_hooks
Code:
Copy      Help
int hh=SetWindowsHookEx(WH_KEYBOARD_LL &sub.LLKeyboardProc _hinst 0)
mes "Press several keys while this message box is open. It should display key names in QM output."
UnhookWindowsHookEx hh


#sub LLKeyboardProc
function nCode wParam KBDLLHOOKSTRUCT&h

FormatKeyString h.vkCode 0 &_s
out "%s %s%s" _s iif(h.flags&LLKHF_UP "up" "down") iif(h.flags&LLKHF_INJECTED ", injected" "")

ret CallNextHookEx(0 nCode wParam &h)

Also test mouse triggers.


Messages In This Thread
Hotkeys doesnt work - by Leeroll - 01-06-2018, 02:37 PM
RE: Hotkeys doesnt work - by Gintaras - 01-07-2018, 07:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)