Skip to content

Instantly share code, notes, and snippets.

@tgzw
Created March 20, 2023 12:27
Show Gist options
  • Select an option

  • Save tgzw/9b0659b58386fc903925cfe5743da192 to your computer and use it in GitHub Desktop.

Select an option

Save tgzw/9b0659b58386fc903925cfe5743da192 to your computer and use it in GitHub Desktop.
AutoHotKey script for <, > and volume control
; List of Keys:
; https://www.autohotkey.com/docs/v1/KeyList.htm
#NoEnv ;
; #Warn ;
SendMode Input ;
SetWorkingDir %A_ScriptDir% ;
; ctrl + alt + z = <
^<!z::
Send, <
return
; ctrl + alt + shift + z = >
^<!<+z::
Send, >
return
; ctrl + 4 = Volume Down
^4::
send {Volume_Down}
return
; ctrl + 5 = Volume Up
^5::
send {Volume_Up}
return
; ctrl + 6 = Volume Mute
^6::
send {Volume_Mute}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment