>How do I find if Windows Media Player is playing any file ???
>
>Is there any way to find the same ?
You can use automation for mediaplayer.
Here's a small example to determine the playstate:
loMP = CREATEOBJECT('MediaPlayer.MediaPlayer.1')
?lomp.PlayState
hth,
Johan