0

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"

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.