Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gustavomdsantos/3c01b99ccdaf855ced39 to your computer and use it in GitHub Desktop.
Save gustavomdsantos/3c01b99ccdaf855ced39 to your computer and use it in GitHub Desktop.
AutoHotKey script that remaps F6 - F10 keys on Windows PC keyboard without Media buttons for better use in media players like Spotify. These keys are the same that I use on my Linux Mint notebook, but that OS have a built-in hotkey tweaker. This script doesn't override important Win hotkeys.
; AutoHotKey Beginner Tutorial: https://www.autohotkey.com/docs/Tutorial.htm
; AutoHotKey Key list: https://autohotkey.com/docs/KeyList.htm
; AutoHotKey Hotkeys: https://www.autohotkey.com/docs/Hotkeys.htm
#F9::MEDIA_PLAY_PAUSE
#F10::MEDIA_NEXT
#F6::VOLUME_MUTE
#F7::VOLUME_DOWN
#F8::VOLUME_UP
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment