summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2021-03-10 18:01:10 +0000
committerbreadcat2021-03-10 18:01:10 +0000
commit1750b1d870991ed469cec7408e221778254ca5fb (patch)
treee9824ac2c9f17cee701b017096574a6371b65cb8
parent6513880035a82fc45c711527d1f9d53ac2bbaad2 (diff)
downloadahka-1750b1d870991ed469cec7408e221778254ca5fb.tar.gz
ahka-1750b1d870991ed469cec7408e221778254ca5fb.tar.bz2
ahka-1750b1d870991ed469cec7408e221778254ca5fb.zip
Spotify global hotkeys
I don't mind Spotify it turns out
-rw-r--r--ahk-assistant.ahk5
1 files changed, 5 insertions, 0 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index 7760568..c56b708 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -68,6 +68,11 @@ Insert::appendClipboard()
#Numpad5::WinMaximize, A ; maximise window
#NumpadClear::WinSet, AlwaysOnTop, , A ; W-S-Num5 toggles current window to always on top
+; spotify global hotkeys
+^Numpad7::PostMessage, 0x319,, 0xC0000,, ahk_exe Spotify.exe ; prev track spotify
+^Numpad8::PostMessage, 0x319,, 0xE0000,, ahk_exe Spotify.exe ; pause toggle spotify
+^Numpad9::PostMessage, 0x319,, 0xB0000,, ahk_exe Spotify.exe ; next track spotify
+
; application specific hotkeys
#IfWinActive ahk_class #32770 ; misc save/load/time-date/find boxes and more!