Jump to content

Query API for the different states ?


gibman

Recommended Posts

Posted

Hi !

 

I am wondering if it is possible to query the DVBViewer about different states that would come in handy when programming a remote control in ex. uIce or Girder.

 

My javascript object in uIce is initiated this way.

 

var DVBViewer=Window("DVBViewer.exe\\DVBViewer (TfrmMain)");

 

I can use DVBViewer for sendmessage and postmessage calls fine.

 

But can I query the DVBViewer engine about it's current state using the above specified object (var DVBViewer).

 

States like;

1) Is OSD being displayed right now ?

1) Is OSD-Channels being displayed right now ?

2) Is teleText being displayed right now ?

3) Is recording in process right now ?

 

+ all other possible states.

 

The reason why I want this, is b/c my remote buttons have different functions in different situations. Ex. my "OK" button in normal satellite viewing situation activates the fav. channel list OSD screen. Now we are in OSD mode and it should now act as

"OSD select" button.

So I need to query the DVBViewer engine wether or not DVBViewer is in OSD mode.

 

/Elo

Guest Lars_MQ
Posted

Have a look at the COM-help available in the membersarea. You can't use Post/sendmessage for this.

Posted

I downloaded the "DVBViewer COM Interfaces".

 

I don't know what to look for here ?

 

Could you show me one example of this, or direct me to a link ?

 

/Elo

Guest Lars_MQ
Posted

look at: isplaying, isvideoplaying, isdvd, osd.isvisible, timermanager.isrecording, windowsmanager.activeWindowID etc. It's all there ;)

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...