Zisly Posted October 8, 2012 Share Posted October 8, 2012 (edited) 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 useHave 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 Edited October 8, 2012 by Zisly FireFox 1 Link to comment Share on other sites More sharing options...
ConsultingJoe Posted October 10, 2012 Share Posted October 10, 2012 Cool simple script tho. You kinda cheat tho by getting the song via the title and not ripping into the gui to get it. But what every get the result. Good job. Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now