patti Posted April 26, 2010 Share Posted April 26, 2010 (edited) Hello again, is it possible to somehow detect via a script whether DVBViewer has an active graph or not? I've been through the COM helpfile from members area but could not find anything regarding graph. I'd like to script a task for recording service to detect whether tehre is an active graph or not and shutdown/keep computer on accordingly after a recording finishes. thanks again, patti Edited April 26, 2010 by patti Quote Link to comment
Tjod Posted April 26, 2010 Share Posted April 26, 2010 If you are working with the COM Interface I would recommend DVBViewer Spy (Members Section). May be it works if you test for #TV.audio.pic Quote Link to comment
patti Posted April 26, 2010 Author Share Posted April 26, 2010 Thanks, will check it out. patti Quote Link to comment
Lars_MQ Posted April 26, 2010 Share Posted April 26, 2010 just do a (GetActiveObject(CLASS_DVBViewer, nil, unknown) <> MK_E_UNAVAILABLE) to see if a running instance is in the ROT. Quote Link to comment
Lars_MQ Posted April 27, 2010 Share Posted April 27, 2010 OK this was for detecting the DVBViewer itself. The best way to detect if a graph is active: if DVBViewer.OSD.isplaying = true then To get the graph itself you would have to examine the ROT. Quote Link to comment
patti Posted April 27, 2010 Author Share Posted April 27, 2010 Thanks for a quick answer. Working on my script ... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.