Jump to content

Zisly

Active Members
  • Posts

    250
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Zisly got a reaction from FireFox in Display current track from Spotify in Skype   
    Did this one quickly and when I was done I got told Skype already had this, apparently I've completely missed it? anyway, someone might find it useful.


    #include "include/Skype.au3" $pid = ProcessExists('Spotify.exe') If $pid == 0 Then MsgBox(0, '', 'Spotify has to be running for this to work.') Exit EndIf Global $oldMood = _Skype_ProfileGetMoodText(); Global $currentSong = ''; Global $hwnd = WinGetHandle('[CLASS:SpotifyMainWindow]') While 1 Sleep(1000) $song = StringTrimLeft(WinGetTitle($hwnd), 10) if $song <> $currentSong and $song <> '' Then _Skype_ProfileSetMoodText('(Spotify) ' & $song); EndIf if $song == '' Then _Skype_ProfileSetMoodText($oldMood); EndIf WEnd _Skype_ProfileSetMoodText($oldMood);
    How to use
    Have Skype and Spotify running and it'll do the rest. It will change the mood text to the current track in Spotify whenever something is played there.
    Skype Current Song.rar
×
×
  • Create New...