Skip to content

Instantly share code, notes, and snippets.

@hunterraffety
Forked from mariotacke/README.md
Created June 6, 2019 15:12
Show Gist options
  • Save hunterraffety/f575af9ce8763e9019d77e273a1ecba8 to your computer and use it in GitHub Desktop.
Save hunterraffety/f575af9ce8763e9019d77e273a1ecba8 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