I'm a premium subscriber of Spotify and an obsessive productivity geek.

One thing that really annoys me is that there isn't a keyboard shortcut to 'star' a track (I.e add a track to favourites). I like to leave Spotify radio on while I'm working and every now and again I have to tab over and right click on the track then select 'Star' whenever I hear a song I really like.

Are there any Spotify tweaks/plugins out there that will allow me to 'star' tracks with a keyboard shortcut?

OS: Windows 7

link|improve this question

50% accept rate
Are ou using Windows Media player? – Diogo Aug 17 '11 at 17:26
Nope, just Spotify – Eddy Aug 19 '11 at 11:46
feedback

2 Answers

Sure, use AutoHotkey!

Once you've got it installed, put this in your AutoHotkey.ahk file:

#*::
WinWait, Spotify, 
IfWinNotActive, Spotify, , WinActivate, Spotify, 
WinWaitActive, Spotify, 
MouseClick, left,  79,  90
Sleep, 100
MouseClick, left,  256,  152
Sleep, 100
return

This adds a Win+Asterisk hotkey that'll star the track that's playing.

You may also be interested in other Spotify shortcuts for AutoHotkey.

link|improve this answer
feedback

I tried the other Autohotkey shortcut and it didn't work for me (just switched to spotify and clicked in two dead spots). I devised the following, which works so long as you have "Large Now Playing Artwork" selected:

CoordMode, Mouse, Relative
;star currently playing
+^l::
SpotifyWinHeight = 1050 ;set to 1080 - 30 for small taskbar size, just in case WinGetPos doesn't work for some reason
WinGetActiveTitle, CurWindow
WinActivate Spotify
WinWaitActive Spotify
WinGetPos,  ,  ,  , SpotifyWinHeight, Spotify
;          X  Y  W  H, we don't care about anything but height
RightClickTarget := SpotifyWinHeight - 250
ContextMenuTarget := RightClickTarget + 110
MouseMove, 100, %RightClickTarget%
Click Right
Sleep, 50
MouseMove, 180, %ContextMenuTarget%
Sleep, 50
Click
WinActivate %CurWindow%
return

It does the following:

  • Stores currently active window
  • Activates Spotify
  • Calculates the offsets for clicking on the album artwork relative to spotify window
  • Stars what's currently playing (via right-click artwork, left click Star)
  • Restores whatever window was active before all of this

It's not perfect (will probably not be happy if for some reason you have spotify hanging mostly off your screen to the right), but gets the job done in most cases.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.