diff --git a/Echo.ahk b/Echo.ahk index 04e5112..fa4413e 100644 --- a/Echo.ahk +++ b/Echo.ahk @@ -241,10 +241,9 @@ 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 - } + whitelistKeys[v] := 1 } } diff --git a/README.md b/README.md index 658e892..dd8d53a 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,10 @@ 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 \ No newline at end of file +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` \ No newline at end of file