Jump to content
Sign in to follow this  
patti

detect active graph with vbscript

Recommended Posts

patti

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 by patti

Share this post


Link to post
Tjod

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

Share this post


Link to post
patti

Thanks, will check it out.

 

patti

Share this post


Link to post
Lars_MQ

just do a

(GetActiveObject(CLASS_DVBViewer, nil, unknown) <> MK_E_UNAVAILABLE)

to see if a running instance is in the ROT.

Share this post


Link to post
Lars_MQ

OK this was for detecting the DVBViewer itself. :biggrin:

 

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.

Share this post


Link to post
patti

Thanks for a quick answer. Working on my script ...

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...