Skip to content

Commit

Permalink
fix error with CapsLock
Browse files Browse the repository at this point in the history
  • Loading branch information
8LWXpg committed May 4, 2023
1 parent a11be86 commit bd1a6a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RegExHotstring.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class RegExHs extends InputHook {
case 9, 13, 32:
return
}
GetKeyState("CapsLock", "T") ? c := StrLower(c) : 0
; no need to clear input
this.match(this.a, , (*) => Send("{Blind}{" c " down}"), 1, c)
Send("{Blind}{" c " up}")
Expand Down

0 comments on commit bd1a6a4

Please sign in to comment.