Skip to content

Instantly share code, notes, and snippets.

@mmc00
Forked from mariotacke/README.md
Created August 16, 2019 16:28
Show Gist options
  • Save mmc00/8ceb778d29c8ea4bdfed2cc885f9155d to your computer and use it in GitHub Desktop.
Save mmc00/8ceb778d29c8ea4bdfed2cc885f9155d 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