Skip to content

Instantly share code, notes, and snippets.

@akobashikawa
Last active November 12, 2022 18:02
Show Gist options
  • Save akobashikawa/438603299b283d02b3bc14755e0a7b90 to your computer and use it in GitHub Desktop.
Save akobashikawa/438603299b283d02b3bc14755e0a7b90 to your computer and use it in GitHub Desktop.
AutoHotkey Script for use RAlt as Fn (useful in Redragon 60% Fizz Pro K616 or similar)
MsgBox % Format("You are using AutoHotkey v{1} {2}-bit.", A_AhkVersion, A_PtrSize*8)
Hotkey, *w, off
Hotkey, *a, off
Hotkey, *s, off
Hotkey, *d, off
Hotkey, *[, off
Hotkey, *], off
Hotkey, *;, off
Hotkey, *', off
Hotkey, *., off
Hotkey, */, off
*RAlt::
Hotkey, *w, on
Hotkey, *a, on
Hotkey, *s, on
Hotkey, *d, on
Hotkey, *[, on
Hotkey, *], on
Hotkey, *;, on
Hotkey, *', on
Hotkey, *., on
Hotkey, */, on
return
*RAlt up::
Hotkey, *w, off
Hotkey, *a, off
Hotkey, *s, off
Hotkey, *d, 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}
*[::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