robob Posted October 31, 2015 Share Posted October 31, 2015 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. Quote Link to comment
dbraner Posted October 31, 2015 Share Posted October 31, 2015 If you stop DVBViewer by key or remote you can implement a handler for this command in command.vbs. Quote Link to comment
robob Posted October 31, 2015 Author Share Posted October 31, 2015 Hi, I saw a lot of stuff in the forum with command.vbs but, noob question, where is this command.vbs ? I can't find it in DVBViewer folders. I'm on DVBViewer pro 5.5.2.0. Quote Link to comment
robob Posted October 31, 2015 Author Share Posted October 31, 2015 Edit : find it http://de.DVBViewer.tv/wiki/Command.vbs Quote Link to comment
robob Posted October 31, 2015 Author Share Posted October 31, 2015 I write a command.vbsSub Main (ActionID)Select Case ActionIDCase 7OSD.ExecNewProcess "C:\WINDOWS\notepad.exe", "", False, TrueEnd SelectEnd Sub Quote Link to comment
robob Posted October 31, 2015 Author Share Posted October 31, 2015 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 SelectEnd 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) ? Quote Link to comment
dbraner Posted November 2, 2015 Share Posted November 2, 2015 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 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.