Zazza Posted December 7, 2007 Posted December 7, 2007 Hi (again)... I've read (on another forum) that's possible to execute an action (or command) just after DVBViewer is closed using the Scheduler plugin. So, I've downloaded and copied the scheduler.exe and write a scheduler.ini config using a user's example and placed them in the root folder of DVBViewer. Here it is: [scheduler] Username=xxxx Password=xxxx [General] Version=2.0.0.0 [frmScheduler] Left=1255 Top=14 Width=336 Height=319 cbAutoSchedule=All cbScheduleOnStart=1 cbScheduleOnClose=1 cbScheduleOnSuspend=0 cbContinueWith=Default cbCloseOnShutdown=0 cbDontTune=1 cbAutoMinimize=1 udLeadTime=3 edSpecialParam= DVBStartDelay=2000 DVBCloseDelay=2000 ScheduleDelay=1500 DVBRestartOnResume=0 Launcher=Scheduler.exe LaunchedFile=DVBViewer.exe cbStartMinimized=1 edBefore= edAfter=D:\DVBViewer\test.cmd edSleepTime=1000 RunAfter=0 The command I'd like to execute is the one in bold. However, scheduler simply does nothing: test.cmd is not invoked. I've tried 2.0.0.0 and 2.1.0.0 versions with same results. What am I doing wrong? Thanks. Quote
Hartwig Posted December 7, 2007 Posted December 7, 2007 It will only be executed, if DVBViewer has started by a task before. I don't really know the reason for it. But you can find it in a very old topic in this forum. It was a user request. Today it might be obsolete, so I might remove the restriction. Quote
Zazza Posted December 7, 2007 Author Posted December 7, 2007 Today it might be obsolete, so I might remove the restriction. Sorry Hartwig... I don't get it... You mean that you could modify your plugin to execute a command EVEN WITHOUT starting DVBViewer with a task? Quote
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.