Skip to content

Instantly share code, notes, and snippets.

@akobashikawa
Last active April 6, 2024 17:46
Show Gist options
  • Save akobashikawa/d709d8a210f15d30591a0c964e65ed2e to your computer and use it in GitHub Desktop.
Save akobashikawa/d709d8a210f15d30591a0c964e65ed2e to your computer and use it in GitHub Desktop.
Hotkey script uses RCtrl as Fn
MsgBox % Format("RControl as Fn")
Hotkey, *w, off
Hotkey, *a, off
Hotkey, *s, off
Hotkey, *d, off
Hotkey, *q, off
Hotkey, *e, off
Hotkey, *x, off
Hotkey, *[, off
Hotkey, *], off
Hotkey, *;, off
Hotkey, *', off
Hotkey, *., off
Hotkey, */, off
*RControl::
Hotkey, *w, on
Hotkey, *a, on
Hotkey, *s, on
Hotkey, *d, on
Hotkey, *q, on
Hotkey, *e, on
Hotkey, *x, on
Hotkey, *[, on
Hotkey, *], on
Hotkey, *;, on
Hotkey, *', on
Hotkey, *., on
Hotkey, */, on
return
*RControl up::
Hotkey, *w, off
Hotkey, *a, off
Hotkey, *s, off
Hotkey, *d, off
Hotkey, *q, off
Hotkey, *e, off
Hotkey, *x, off
Hotkey, *[, off
Hotkey, *], off
Hotkey, *;, off
Hotkey, *', off
Hotkey, *., off
Hotkey, */, off
return
*w::send {blind}{Up}
*a::send {blind}{Left}
*s::send {blind}{Down}
*d::send {blind}{Right}
*q::send {blind}{Home}
*e::send {blind}{End}
*x::send {blind}{Delete}
*[::send {blind}{Home}
*]::send {blind}{End}
*;::send {blind}{PgUp}
*'::send {blind}{PgDn}
*.::send {blind}{Insert}
*/::send {blind}{Delete}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment