Thanks for the answer, but that is precisely my problem, that in my spotify application in windows 10 the shortcut ctrl + D does not work. So I wanted to know if there was any other solution.
For now I made a Python script that opens spotify in the web browser and hit TAB 24 times and ENTER until it opens which should do ctrl + D. But as you can imagine, it depends on the page loading fast, and more variables.
Just in case, sorry for my English, I'm from Argentina and I do what I can haha
Thanks again