-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swap key windows #1
Comments
#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.
#NoTrayIcon
SetCapsLockState, AlwaysOff
/*
| Shortcut | Output |
| -------------------------------- | -------------------------------- |
| CAPSLOCK + { w, a, s, d } | { Up, Left, Down, Right } |
| CAPSLOCK + { q, e } | { Home, End } |
| CAPSLOCK + { r, f } | { PageUp, PageDown } |
*/
*/
CapsLock & w::
Send {Up}
return
CapsLock & s::
Send {Down}
return
CapsLock & a::
Send {Left}
return
CapsLock & d::
Send {Right}
return
CapsLock & q::
Send {Home}
return
CapsLock & e::
Send {End}
return
CapsLock & r:: send, {PgUp}
CapsLock & f:: send, {PgDn}
return
*/
/*
| Shortcut | Output |
| -------------------------------- | -------------------------------- |
| CAPSLOCK + { h, j, k, l } | { Left, Up, Down, Right } |
| CAPSLOCK + { u, o } | { Home, End } |
| CAPSLOCK + { y, h } | { PageUp, PageDown } |
*/
CapsLock & h::
Send {Left}
return
CapsLock & j::
Send {Down}
return
CapsLock & k::
Send {Up}
return
CapsLock & l::
Send {Right}
return
/*
CapsLock & u::
Send {Home}
return
CapsLock & o::
Send {End}
return
CapsLock & y:: send, {PgUp}
CapsLock & h:: send, {PgDn}
*/
return |
{ |
[ |
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
;"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,01,00,3a,00,38,00,1D,00,1D,00,38,00,00,00,00,00
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,38,00,1D,00,1D,00,38,00,00,00,00,00
;"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,01,00,01,00,3a,00,00,00,00,00 交换esc 和 cap
The text was updated successfully, but these errors were encountered: