Created
September 22, 2023 16:55
-
-
Save xeechou/dd169830d0f7f93d54555da23162645c to your computer and use it in GitHub Desktop.
How windows hot key setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LCtrl::Alt | |
LAlt::Ctrl | |
#SuspendExempt | |
f1::Suspend ; Ctrl+Alt+S | |
#SuspendExempt False | |
#SuspendExempt | |
+CapsLock:: | |
{ | |
If (WinActive("ahk_class TscShellContainerClass")) | |
{ | |
Sleep 50 | |
; winid := "ahk_id " hwnd | |
WinMinimize | |
Send "+{Click}" ; the click give me back keyboard events. | |
} | |
SetCapsLockState False | |
Reload | |
} | |
#SuspendExempt False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment