Jump to content
Sign in to follow this  

Display current track from Spotify in Skype

Recommended Posts


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.')
Global $oldMood = _Skype_ProfileGetMoodText();
Global $currentSong = '';
Global $hwnd = WinGetHandle('[CLASS:SpotifyMainWindow]')
While 1
$song = StringTrimLeft(WinGetTitle($hwnd), 10)
if $song <> $currentSong and $song <> '' Then
_Skype_ProfileSetMoodText('(Spotify) ' & $song);
if $song == '' Then

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

Edited by Zisly
  • Like 1

Share this post

Link to post
Share on other sites

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.

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this