Ok, then you have to edit the @Resources\Applist.inc file. Identify the icon you want to use to close Spotify and deactivate the Elegant Music Player. Do you know which icon do you want to use?
If you do, first you have to add a RunCommand plugin measure to the end of the same @Resources\Applist.inc file (after the Gamedir12 variable). Add it:
Code: Select all
[MeasureRun]
Measure=Plugin
Plugin=RunCommand
Parameter=taskkill /im Spotify.exe
State=Hide
OutputType=ANSI
Now replace the GamedirXX variable (the previously identified variable) within the mentioned @Resources\Applist.inc file with the following one: Gamedir4=[!CommandMeasure "MeasureRun" "Run"][!ToggleConfig "Elegant Music Player\Elegant Music Player" "Elegant Music Player.ini"].
Does this work?