Page 1 of 1

Possible bug with wildcard hotkey eclipsing other hotkey

Posted: 12 Aug 2017, 14:35
by obeeb
From the wildcard documentation:
Wildcard hotkeys always use the keyboard hook, as do any hotkeys eclipsed by a wildcard hotkey. For example, the presence of *a:: would cause ^a:: to always use the hook.
However when I place the wildcard hotkey above the more specific one:

Code: Select all

*^a::MsgBox wildcard
^!a::MsgBox not wildcard
The ^!a hotkey doesn't use the hook, from ListHotkeys:
k-hook *^a
reg ^!a
When I switch their places it does use the hook:
k-hook ^!a
k-hook *^a
The result is that ^!a hotkey doesn't work if it's placed below *^a hotkey(unless #UseHook On was specified).

I tested it on the latest 1.1.26.01 version and also on an old 1.14 version I have installed is this a bug or undocumented behavior?

Re: Possible bug with wildcard hotkey eclipsing other hotkey

Posted: 27 Nov 2017, 00:35
by lexikos
It's a bug.

Re: Possible bug with wildcard hotkey eclipsing other hotkey  Topic is solved

Posted: 27 Dec 2017, 04:51
by lexikos
Fixed in v1.1.27.00.