Jump to content

Windows Media Player automation


Azeirah
 Share

Recommended Posts

Hi all, I'm having trouble to obtain the current playing song in WMP.

Big images in spoiler:

IOT6BOm.png

What I would like to read

r7JqFD4.png

The autoit information tool doesn't work here

r2nn6Rz.png

Ranorex however does work.

I want to read the contents of the three lines in WMP, Song name, song artist and song album. (look in the spoiler for examples of what I mean).

The Built-in spy tool doesn't give me the information I need, but ranorex spy tool does.

However, I don't know how to work with the information I got.

$WMP = "Windows Media Player"


$handle = WinActivate($WMP)

; Help :(

The specific content I need is in the third image, under ranorex spy Element - Value.

Is it possible, and if yes, how, to get that information?

 

Thanks in advance for any help :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...