1.

Solve : Windows Media Player - general question?

Answer»

In Media Player, is there a way to determine which Playlist(s), if any, a particular TRACK from my library appears? Welcome to the FORUM. I SUGGEST the easiest way would be to use a VBScript. Found this in the snippet closet.

Code: [Select]Set objPlayer = CreateObject("WMPlayer.OCX" )
Set objPlaylists = objPlayer.PlaylistCollection
Set colPlaylists = objPlaylists.getAll()

For i = 0 to colPlaylists.Count - 1
Set objPlaylist = colPlaylists.Item(i)
For j = 0 to objPlaylist.Count - 1
Set objSong = objPlaylist.Item(j)
WScript.Echo objPlaylist.name & " " & objSong.Name
Next
Next



Discussion

No Comment Found