Question Read status of media player classic

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
I am trying to determine the current status of media player classic. If its opening a file, Playing a video, and reading the play time. Could you get the data directly? or maybe capturing the portion of it's screen and do ocr? what i have is the handle of the window.
 
From the ActiveX WMP control in your form you can get this from playState property. I don't think the standalone WMP apps can be automated.
 
i am just trying to get the info if it playing and the current play time for the standalone version. I was thinking of capturing the screen of the player and getting the number from that but cant seem to get the capture right.
 
finally got the window captured. now just need to see how to compare images or just detecting if certain pixel is white
 
Last edited:
Back
Top