Skip to content

Instantly share code, notes, and snippets.

@billglover
Last active August 29, 2015 14:21
Show Gist options
  • Save billglover/b0ed832da5bf76fd00b6 to your computer and use it in GitHub Desktop.
Save billglover/b0ed832da5bf76fd00b6 to your computer and use it in GitHub Desktop.
Provide media key functionality by using the navigation keys using #AutoHotKey
#NoEnv
#SingleInstance, force
SendMode Input
SetWorkingDir %A_ScriptDir%
; Ctrl + Alt + Left = previous track
^!Left::Media_Prev
; Ctrl + Alt + Right = next track
^!Right::Media_Next
; Ctrl + Alt + Numpad 0 = play/pause track
^!Numpad0::Media_Play_Pause
; Ctrl + Alt + Up/Down = system volume up/down
^!Up::Send {Volume_Up}
^!Down::Send {Volume_Down}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment