Jump to content

start a vbs script on DVBViewer closes


robob

Recommended Posts

Hi,

i'm using the internal Script windowload.vbs, to run some programs when I open DVBViewer.

is-it possible to create a event script when DVBViewer cloes ? (a windowclose.vbs script)

how to do that ?

 

thank you.

Link to comment

If you stop DVBViewer by key or remote you can implement a handler for this command in command.vbs.

Link to comment

I write a command.vbs in C:\Program Files\DVBViewer\Scripts

Sub Main (ActionID)
Select Case ActionID

Case 7
OSD.ExecNewProcess "C:\WINDOWS\notepad.exe", "", False, True
End Select
End Sub

 

Id 7 is channel list, but nothing apen when I open the channel list.

"disable the internal scripting engine " is unticked

 

May be I forgot something ?

 

Anyway to run a script on close event (by keyboard, remote or end recording) ?

Link to comment

You have to redefine the command with an ID > 20480. Only for this commands the Command.vbs is executed.

 

Here are some examples (unfortunately in German): http://de.DVBViewer.tv/wiki/Command.vbs

Don't know if an english Wiki page exists.

 

How to redefine input command (in english): http://en.DVBViewer.tv/wiki/Options_Input

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