I have had a script that would activate my cameras to record via BI Command and Blue Iris. This script has worked for several years and now all of a sudden it has stopped. The script is pointed to a bat file in BI Command. When I run the Bat file it works and the cameras record. When I activate my scene in In Control with the script pointed to the bat file it will not run the Bat file like it used to. Below is my script. Does anyone have any ideas? I do not see anything being logged in the logfile. The location of the BAT file and BI Command are all correct.
using System;
using System.Collections.Generic;
using System.Text;
using MLS.ZWave.Service.Rules;
using MLS.ZWave.BusinessObjects;
public class Runbat : ScriptBase, ScriptInterface {
public void runScript() {
try {
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo();
psi.FileName = @"C:\BiCommand\AllCameraRecord.bat";
psi.CreateNoWindow = true;
psi.UseShellExecute = false;
System.Diagnostics.Process.Start(psi);
} catch (Exception ex) {
// Log the exception here
var message = ex.Message;
}
}
}