Skip to content

Instantly share code, notes, and snippets.

@peterrus
Last active June 29, 2016 10:58
Show Gist options
  • Save peterrus/84427728ed859d4dca9f257f85ca042f to your computer and use it in GitHub Desktop.
Save peterrus/84427728ed859d4dca9f257f85ca042f to your computer and use it in GitHub Desktop.
Maps mediakeys to page up/down home and end (Place in Documents folder and run AutoHotkey) (Special attention was given to modifier keys, because elsewise it wouldn't register the keystrokes for some reason)
Media_Next::Send {End}
Media_Prev::Send {Home}
Media_Stop::Send {PgUp}
Media_Play_Pause::Send {PgDn}
^Media_Next::Send ^{End}
^Media_Prev::Send ^{Home}
^Media_Stop::Send ^{PgUp}
^Media_Play_Pause::Send ^{PgDn}
!Media_Next::Send !{End}
!Media_Prev::Send !{Home}
!Media_Stop::Send !{PgUp}
!Media_Play_Pause::Send !{PgDn}
+Media_Next::Send +{End}
+Media_Prev::Send +{Home}
+Media_Stop::Send +{PgUp}
+Media_Play_Pause::Send +{PgDn}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment