Skip to content

Instantly share code, notes, and snippets.

@Zorroki
Forked from mariotacke/README.md
Created July 9, 2020 11:26
Show Gist options
  • Save Zorroki/b69006969007f54bbe66a6c80aa70890 to your computer and use it in GitHub Desktop.
Save Zorroki/b69006969007f54bbe66a6c80aa70890 to your computer and use it in GitHub Desktop.
Spotify AutoHotkey Script

Spotify AutoHotkey Script

This script makes use of the Numpad to control media players and volume on your system.

Usage

  • Install AutoHotkey
  • Right-click .ahk script
  • Compile Script
  • Start executable

Hotkeys

  • Ctrl + Numpad 4: Previous Track
  • Ctrl + Numpad 5: Play/Pause Track
  • Ctrl + Numpad 6: Next Track
  • Ctrl + Numpad 8: Volume Up
  • Ctrl + Numpad 2: Volume Down

Visual

     8
     🔊
 4   5   6 
⏮️  ⏯️  ⏭️
     2
     🔉
#SingleInstance force
#NoEnv
SendMode Input
;Ctrl & Numpad 4: Previous Track
^Numpad4::Media_Prev
;Ctrl & Numpad 6: Next Track
^Numpad6::Media_Next
;Ctrl & Numpad 8: Volume Up
^Numpad8::SoundSet +3
;Ctrl & Numpad 2: Volume Down
^Numpad2::SoundSet -3
;Ctrl & Numpad 5: Play/Pause Track
^Numpad5::Media_Play_Pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment