In die Save to Your Library
Desktop-Apps von Spotify sind keine Tastenkombinationen integriert, die sich ganz und gar nicht befinden werden. Im Dezember 2016 wurde der Antrag (ursprünglich aus 2012) als "Nicht richtig" markiert .
Für macOS-Anwender kenne ich keine Lösung.
Für Windows-Benutzer ist AutoHotkey einigermaßen brauchbar.
Hier ist ein AutoHotkey-Skript, das ab dem 10-30-2017 funktioniert.
; Control+Shift+Win+F1 ^+#F1:: SendInput ; Control+Shift+Win+F2 ^+#F2:: SendInput ; Control+Shift+Win+F3 ^+#F3:: SendInput ; Control+Shift+Win+F4 ^+#F4:: SaveSongToSpotifyLibrary() SaveSongToSpotifyLibrary() { spotify := "ahk_exe spotify.exe" if WinExist(spotify) { ; Store starting window ID and mouse position. MouseGetPos x, y, startingWinId ; Activate Spotify. WinActivate %spotify% WinWaitActive %spotify% saveToYourLibraryIcon = %A_WorkingDir%\apps\SpotifyController\SaveToYourLibraryIcon.png ImageSearch FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, %saveToYourLibraryIcon% if (ErrorLevel = 0) { Click %FoundX%, %FoundY% } else if (ErrorLevel = 2) { MsgBox % "Problem conducting image search. Is the saveToYourLibraryIcon in the correct location?" } else if (ErrorLevel = 1) { MsgBox % "Unable to save song. Can't find the Add button." } ; Restore original window and mouse position. WinActivate ahk_id %startingWinId% MouseMove %x%, %y% } }
Anleitung
Wenn Sie noch nie ein Skript erstellt haben, lesen Sie das Anfänger-Tutorial .
Dies verwendet die ImageSearch- Funktion. Ich habe das zu findende Bild erstellt, indem ich einen Screenshot der Plus-Schaltfläche in der linken unteren Ecke der Spotify-App machte.
Sie können selbst eine erstellen oder diese herunterladen.
Benennen Sie es
SaveToYourLibraryIcon.png
und platzieren Sie es in demselben Verzeichnis wie Ihr Skript.Das ist es. Drücken Sie
Ctrl+Shift+Win+F4
( das ändern, was auch immer Sie wollen ) und der aktive Song wird zu Ihrer Bibliothek hinzugefügt werden!