I have a simple .js script that is called by an unsafe condition sensor. This is run and works great.
var dome;
dome = new ActiveXObject("ASCOM.NexDome.Dome");
dome.Connected = true;
while (dome.ShutterStatus == 4); // Error - wait for shutter to go online
dome.CloseShutter();
dome.Park();
dome.Connected = false;
dome.Dispose();
dome = null;
I now need to execute another .vbs script from inside the code above? Is there a simple execute command I can enter?
I want to execute this...
"Cscript C:\ParkRasa.vbs RASA_FACE_DOWN"