Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Spotify Global Hotkeys


  • Please log in to reply
23 replies to this topic
GOSPOTIFY
  • Members
  • 1 posts
  • Last active: Apr 19 2013 04:15 PM
  • Joined: 07 Apr 2013

Can someone please post code for global spotify key to star a song? Thanks!



curswine
  • Members
  • 2 posts
  • Last active: Jun 01 2013 12:35 PM
  • Joined: 17 May 2013

I registered just to thank the OP too.

 

THANKS!

 

I'd also like to second GOSPOTIFY's request, any chance a star hotkey could be added?



Avien
  • Members
  • 33 posts
  • Last active: Aug 30 2016 08:23 PM
  • Joined: 02 Jun 2011

Thanks a lot, still works like a charm! :)



Godric
  • Members
  • 19 posts
  • Last active: Jun 02 2016 09:11 PM
  • Joined: 11 Nov 2013

Thank you so much!!!!!

 

This still works like charm.

 

Thank you once again. 



TylerW
  • Members
  • 1 posts
  • Last active: Nov 17 2014 09:05 PM
  • Joined: 17 Nov 2014

Love this script so much, thank you so much OP!

 

editted it a little to open up a "Now Playing" MsgBox with the copied text instead of just copying it to the clipboard, made it a bit easier to find quickly.



deldens
  • Members
  • 1 posts
  • Last active: Dec 04 2017 06:31 PM
  • Joined: 30 Jan 2015

Here is a script that I made to delete a playing song in Spotify playlist. Note that the album cover in the leftright corner must be large and note that the playlist must be selected. In other words there must be a small green bar for the title of your playlist. So click on you playlist, play a song and minimize Spotify. Now you can use this script to DELETE a song (press ALT + DELETE) and the script automatically go's to the next song in the playlist and selects it for a potential next command. "ControlClick" is a bit of a workaround since I could not find the shortcut key for deleting a playlist song.

 

Note this shortcut key won't interfere with “CTRL+ALT+DEL” if you first press “CTRL” hold it and press “ALT+DEL”

; "ALT + DELETE"  for deleting current song and go to next note that playlist must be active
!DEL::
{
DetectHiddenWindows, On
ControlClick, x20 y855, ahk_class SpotifyMainWindow
ControlSend, ahk_parent, {DELETE}, ahk_class SpotifyMainWindow
ControlSend, ahk_parent, ^{Right}, ahk_class SpotifyMainWindow
ControlClick, x20 y855, ahk_class SpotifyMainWindow
DetectHiddenWindows, Off
return
}



Godric
  • Members
  • 19 posts
  • Last active: Jun 02 2016 09:11 PM
  • Joined: 11 Nov 2013

Doesn't work anymore with SPOTIFY Premium version 1.0.1.1060.gc75ebdfd

 

:(



jamesekema
  • Members
  • 2 posts
  • Last active: Mar 18 2015 07:59 PM
  • Joined: 17 Mar 2015

I can confirm that it is broken with Spotify Free version 1.0.1.1060.gc75ebdfd as well.  (Worked fine before I restarted my computer today and my Spotify must have auto-updated...  :( )

 

I don't understand why either, as I confirmed the ahk_class is still SpotifyMainWindow, so as best as I can tell, it should still be sending the keystrokes to Spotify...  and, eg., Space still pauses spotify when the window is focused, so it's not that the hotkeys have changed...

 

Anyone have any insight to this before I try to find an older version of Spotify and then try to keep Spotify from auto-updating?



jamesekema
  • Members
  • 2 posts
  • Last active: Mar 18 2015 07:59 PM
  • Joined: 17 Mar 2015

FYI, just found this thread, so thought I would link to it from here: http://www.autohotke...pdate-solution/

 

The following worked great for me!  Happy to have my hotkeys back!

; "ALT + LEFT" for previous 
!Left::Media_Prev

; "ALT + RIGHT" for next 
!Right::Media_Next

; "ALT + UP" for pause
!UP::Media_Play_Pause