Jump to content
Sign in to follow this  
Gillboss

MSN Messenger current song

Recommended Posts

Gillboss

When Itunes, WMP, or Winamp play song, they send to MSN Messenger which song playing.

How can i get this current song playing?

thanks

Share this post


Link to post
Share on other sites
torels

http://www.autoitscript.com/forum/index.ph...st&p=320381

here is how you set it

try reversing it... (I sincerely haven't got a clue on how to do that!)


Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

Share this post


Link to post
Share on other sites
Inverted

There has to be a "normal" way to do it, maybe search the winamp forum.

Share this post


Link to post
Share on other sites
Gillboss

There has to be a "normal" way to do it, maybe search the winamp forum.

not found :S

Share this post


Link to post
Share on other sites
Inverted

I have an idea :

(With some option enabled) Winamp puts the corrent playing song in the taskbar, right ? So read it from there every few seconds :-)

Share this post


Link to post
Share on other sites
syko

I think maybe reading from the control of the media player should work =].

Share this post


Link to post
Share on other sites
Gillboss

lol how do all that?

example can help me :)

Share this post


Link to post
Share on other sites
Inverted

Try this :

$ProgName = "Winamp song reader"


Opt("WinTitleMatchMode",2)
$text = WinGetTitle (" - Winamp", "")
if $text = "" Then
    MsgBox (0, $ProgName , "Winamp window or title couldn't be found")
    exit
endif

$text = StringReplace ( $text, " - Winamp", "")
MsgBox (0, $ProgName , $text)

You can also search/remove/use the [stopped] and [Paused] ...

Also, in the General Preferences of Winamp you may want to uncheck the option that adds the playlist number to the taskbar title.

Edited by Inverted

Share this post


Link to post
Share on other sites
Gillboss

Try this :

$ProgName = "Winamp song reader"


Opt("WinTitleMatchMode",2)
$text = WinGetTitle (" - Winamp", "")
if $text = "" Then
    MsgBox (0, $ProgName , "Winamp window or title couldn't be found")
    exit
endif

$text = StringReplace ( $text, " - Winamp", "")
MsgBox (0, $ProgName , $text)

You can also search/remove/use the [stopped] and [Paused] ...

Also, in the General Preferences of Winamp you may want to uncheck the option that adds the playlist number to the taskbar title.

yes i know this script, and i have one for itunes, but what about WMP?

Share this post


Link to post
Share on other sites
Gillboss

oh little quetion, if Winamp running on hiding mode, can i get track info?

i guess not..

Share this post


Link to post
Share on other sites
Inverted

If WinExists("Windows Media Player") Then
    $songname = ControlListView  ("Windows Media Player", "", "SysListView321", "GetText", 0,0)
    MsgBox(0, "", $songname)
EndIf

The above will return the first item in the playlist, I don't know how to see which one is playing :-(

Edited by Inverted

Share this post


Link to post
Share on other sites
Gillboss

If WinExists("Windows Media Player") Then
    $songname = ControlListView  ("Windows Media Player", "", "SysListView321", "GetText", 0,0)
    MsgBox(0, "", $songname)
EndIf

The above will return the first item in the playlist, I don't know how to see which one is playing :-(

not working to me :S

i get $songname = 0

can u test it on your pc? thx

Edited by Gillboss

Share this post


Link to post
Share on other sites
Inverted

Of course I tested :)

Maybe your playlist is empty, drap a couple of mp3s in there.

WMP 11 here by the way.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.