Jump to content

detect active graph with vbscript


Recommended Posts

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

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

Posted

just do a

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

to see if a running instance is in the ROT.

Posted

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.

Posted

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

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...