Jump to content

HTPC OSD mode


pl4ya

Recommended Posts

  • 1 month later...

insert this into a vb-script (i.e. htpc.vbs):

 

the "com-plugin" has to be in the plugin-dir B)

 

Option Explicit

 

'*************** ADJUST THIS *******************

 

const cDVBViewerPath = "C:\Programme\DVBViewer3\DVBViewer.exe"

const Time2Wait = "8500" 'Delaytime before opening the OSD in ms

const StartCommand = "-c" ' Start without Graph (-c)

 

'*************** Don't change anything below unless you know what you are doing `***

 

dim Shell

 

Set Shell = WScript.CreateObject("WScript.Shell")

 

Shell.Run chr(34) + cDVBViewerPath + chr(34) + StartCommand

 

WScript.Sleep(Time2Wait)

 

Dim ObjWord

 

Set ObjWord = GetObject(, "DVBVServer.DVBViewer")

 

ObjWord.SendCommand(2110)

 

Set ObjWord = Nothing

Edited by admi-ral
Link to comment

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