Skip to content

Instantly share code, notes, and snippets.

@ryantheleach
Created October 17, 2016 09:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryantheleach/2017fa84169f75926913c5c659da462f to your computer and use it in GitHub Desktop.
Save ryantheleach/2017fa84169f75926913c5c659da462f to your computer and use it in GitHub Desktop.
Logitech Gaming Software F13-F24 Keys
#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.
#InstallKeybdHook ;https://autohotkey.com/docs/commands/KeyHistory.htm
KeyHistory
;Run script, right click AHK icon in taskbar, Open, View History.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
;Run Script, change key in LGS, hold down number while pressing clear, wait, if F key doesn't appear try again.
; #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.
1::
sleep, 1000
send, {F13 DOWN}
sleep, 50
send, {f13 UP}
Return
2::
sleep, 1000
send, {F14 DOWN}
sleep, 50
send, {f14 UP}
Return
3::
sleep, 1000
send, {F15 DOWN}
sleep, 50
send, {f15 UP}
Return
4::
sleep, 1000
send, {F16 DOWN}
sleep, 50
send, {f16 UP}
Return
5::
sleep, 1000
send, {F17 DOWN}
sleep, 50
send, {f17 UP}
Return
6::
sleep, 1000
send, {F18 DOWN}
sleep, 50
send, {f18 UP}
Return
7::
sleep, 1000
send, {F19 DOWN}
sleep, 50
send, {f19 UP}
Return
8::
sleep, 1000
send, {F20 DOWN}
sleep, 50
send, {f20 UP}
Return
9::
sleep, 1000
send, {F21 DOWN}
sleep, 50
send, {f21 UP}
Return
0::
sleep, 1000
send, {F22 DOWN}
sleep, 50
send, {f22 UP}
Return
-::
sleep, 1000
send, {F23 DOWN}
sleep, 50
send, {f23 UP}
Return
=::
sleep, 1000
send, {F24 DOWN}
sleep, 50
send, {f24 UP}
Return
@camjac251
Copy link

Thanks for making this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment