Resolved issue with keyboard hook getting removed
This commit is contained in:
3
Echo.ahk
3
Echo.ahk
@@ -241,12 +241,11 @@ WhitelistButtonUI() {
|
||||
}
|
||||
|
||||
WhitelistKeys(string) {
|
||||
whitelistKeys := Array()
|
||||
for k, v in StrSplit(string, "|") {
|
||||
if (v != "a" and v != "s" and v != "d" and v != "w" and v != "enter" and v != "escape") {
|
||||
whitelistKeys[v] := 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
AddCurrentWindow() {
|
||||
WinGet, activePID, PID, A
|
||||
|
@@ -29,3 +29,9 @@ Will remove the next hit key from the whitelist
|
||||
## 1.1.3
|
||||
|
||||
Windows can now be added to the echo list using `Ctrl+Alt+S` and `Ctrl+Alt+D` where S adds the **current** window and D removes the **current** window
|
||||
|
||||
## 1.1.4
|
||||
|
||||
For some reason the keyboard hook sometimes gives up
|
||||
|
||||
Added option to re-hook keyboard on `F5`
|
Reference in New Issue
Block a user