Skip to content

Instantly share code, notes, and snippets.

@LeeFlannery
Created May 22, 2012 21:47
Show Gist options
  • Save LeeFlannery/2771848 to your computer and use it in GitHub Desktop.
Save LeeFlannery/2771848 to your computer and use it in GitHub Desktop.
My key mappings for AutoHotKey. Media controls and text editor launches.
; http://www.autohotkey.com/
;
; My key mappings for autohotkey
; Lee Flannery
;
; Three text editors mapped to ctrl+1, 2, and 3.
;
; Media controls mapped to ctrl+alt+cursor keys
;
; up : volume up
; down : volume down
; left : mute
; right : play/pause
;
^1::Run "C:\Program Files\Sublime Text 2\sublime_text.exe"
^2::Run np2.exe
^3::Run "D:\Program Files (x86)\Notepad++\notepad++.exe"
^!Up::
Send { Volume_Up 2 }
return
^!Down::
Send { Volume_Down 2 }
return
^!Left::
Send {Volume_Mute}
return
^!Right::
Send {Media_Play_Pause}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment