Jump to content
Sign in to follow this  
Gillboss

WMP Current Playing

Recommended Posts

Gillboss

i searching alot in forum to get info about get track name that current playing in WMP.

i found this:

http://www.autoitscript.com/forum/index.ph...&pid=327706

but its not help me, because i want script that get info about current playing.

if u dont understand me, i mean like this:

http://www.autoitscript.com/forum/index.php?showtopic=21334

but for WMP.

thanks!

Share this post


Link to post
Share on other sites
Gillboss

there is more guy that intersted it:

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

but there is no answer :S

and not it:

#include <GUIConstants.au3>

; == GUI generated with Koda ==);

$TrackName = GUICreate("Track Name", 425, 54, 193, 161)

$Currtrack = GUICtrlCreateLabel("Current Track", 8, 16, 290, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")

$GetTr = GUICtrlCreateButton("GetTrackName", 320, 8, 97, 33, 0)
GUISetState(@SW_SHOW)

$WMP = ObjCreate("wmplayer.ocx")

GUISetState(@SW_SHOW)

While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GetTr
    $TrackName = $WMP.GetMediaInfoString()
    GUICtrlSetData ($Currtrack,$TrackName)
    EndSelect

    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;;;;;
    EndSelect
WEnd
Edited by Gillboss

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.