How to obtain song duration or title of song being played by windows media player

glassescase

New Member
Joined
May 25, 2019
Messages
2
I want to obtain the duration of a song being played by windows media player or the song title.
I have no idea how to do this, please can you help?
Not being that good I need code examples to follow or try to adapt.

thank you in advance

glassescase
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Logit, thank you. I thought I'd replied but seems not.
The links are useful, thanks
I seem to have missed some vital information from my post.
The song is already playing. when i then run the macro i need it to obtain the song duration or the song title. i cannot had code the song name.
i can hard code to the directory where the song is but thats all. the macro will need to obtain the song title

glassescase
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top