Last active
May 28, 2021 11:46
-
-
Save honboubao/9760c53b5865f1e95c62aee469889d9d to your computer and use it in GitHub Desktop.
AutoHotkey script that maps arrow keys, home, end and page up/down onto left win key + uiop/jklö block
This file contains hidden or 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
#SingleInstance Force | |
*<#j::Send {Blind}{LWin up}{Left}{LWin down}{LCtrl} | |
*<#k::Send {Blind}{LWin up}{Down}{LWin down}{LCtrl} | |
*<#l::Send {Blind}{LWin up}{Right}{LWin down}{LCtrl} | |
*<#i::Send {Blind}{LWin up}{Up}{LWin down}{LCtrl} | |
*<#u::Send {Blind}{LWin up}{Home}{LWin down}{LCtrl} | |
*<#o::Send {Blind}{LWin up}{End}{LWin down}{LCtrl} | |
*<#p::Send {Blind}{LWin up}{PgUp}{LWin down}{LCtrl} | |
*<#ö::Send {Blind}{LWin up}{PgDn}{LWin down}{LCtrl} | |
<#Backspace::Send {Del} | |
~LWin:: | |
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Policies\System, DisableLockWorkstation, 1 | |
keywait, LWin | |
return | |
~LWin up:: | |
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Policies\System, DisableLockWorkstation, 0 | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment