Did you find this article helpful?
AHK Hotkeys don't work when Spotify is minimized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So, because Spotify for some reason still doesn't have global hotkeys, (GPM-DP has it since ages), I tried to use auto hotkey to control the volume with hotkeys.
Here's my simple script (as an example just volume up):
; "CTRL + UP" for volume up
^Up::
{ ControlSend, ahk_parent, ^{Up}, ahk_class SpotifyMainWindow
return }
However, this only works when Spotify isn't minimized. I also tried enabling the hidden windows option in the script, but that didn't change anything.
This leads me to believe that the problem lies with Spotify. That the desktop client just doesn't take keyboard inputs from AHK when it's minimized.
Of course I could change the script so it maximizes Spotify before sending the keyboard input, but that defeats the purpose of the hotkey as it then takes me out of any fullscreen application that I'm running.
Either give us global hotkeys (which should have been implemented years ago), or at least make ahk work when Spotify is minimized.
- Labels:
-
Windows
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page