Last active
September 18, 2022 21:56
-
-
Save akobashikawa/c2e0179453f2173b116c19ec7d114dcd to your computer and use it in GitHub Desktop.
AuthoHotkey for use CapsLock as FnLock (Magic Fn)
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
; SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#if GetKeyState("CapsLock", "T") | |
*w::send {blind}{Up} | |
*a::send {blind}{Left} | |
*s::send {blind}{Down} | |
*d::send {blind}{Right} | |
*i::send {blind}{Up} | |
*j::send {blind}{Left} | |
*k::send {blind}{Down} | |
*l::send {blind}{Right} | |
*[::send {blind}{Home} | |
*]::send {blind}{End} | |
*;::send {blind}{PgUp} | |
*'::send {blind}{PgDn} | |
*.::send {blind}{Insert} | |
*/::send {blind}{Delete} | |
*1::send {blind}{F1} | |
*2::send {blind}{F2} | |
*3::send {blind}{F3} | |
*4::send {blind}{F4} | |
*5::send {blind}{F5} | |
*6::send {blind}{F6} | |
*7::send {blind}{F7} | |
*8::send {blind}{F8} | |
*9::send {blind}{F9} | |
*0::send {blind}{F10} | |
*-::send {blind}{F11} | |
*=::send {blind}{F12} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment