Disable Capslock, Windows Key
[see AutoHotkey Tutorial]
Disable Caps Lock, Number Lock, Scroll Lock
; set the default state of the lock keys SetCapsLockState, off SetNumLockState, on SetScrollLockState, off ; disable them $NumLock::Return $ScrollLock::Return $CapsLock::Return
; make Caps Lock key do Control CapsLock::Ctrl
[see AutoHotkey Key Syntax]
; make the capslock key behave as menu/AppsKey CapsLock::AppsKey
The ▤ Menu key is actually very useful. See: Microsoft Keyboard Menu Key .
Disable Windows Logo Key
Disable Win Key Completely
;; disable the Win key completely Lwin::return Rwin::return
Disable Win Key Start Menu Behavior
;; disable Win key behavior of popping up the Start Menu, but don't disable Win+key combination ~LWin Up::Return ~RWin Up::Return
Disable Win+key Combination
;; disable some Win+key combination #1::Return #r::Return #e::Return
Note: the ❖ Window+l (lock computer) cannot be disabled.
Disable F1 Help
#F1::Return
Instead of disable keys, it's better to set them to do something useful, such as switching app/window/tab, or copy cut paste.
If you have a question, put $5 at patreon and message me.