I would like the ability to "Save to your Liked Songs" using a keyboard shortcut while another app has focus on my Mac. For example, suppose I am listening to some Spotify playlist while writing code in, say, Visual Studio Code. If a song is played that I've never heard before and enjoy, I don't want to have to open up the Spotify UI to click the heart to save the song to my Liked Songs. I'd rather be able to press a couple of keys on my keyboard and continue with my work knowing the song is now "safely stored" in my Liked Songs for future re-listening. Apps such as Things 3 offer something similar - in the case of Things 3, there's a keyboard shortcut I can press no matter what app has focus that brings up a quick entry dialog to create a to-do. In a few seconds I can capture the idea that came to mind and get back to work with minimum interruption.
Updated on 2019-09-26
That's a great idea, but something similar has already been suggested.
You can check it out here.
Have a nice day!