I am trying to combine two scripts, one written in C#, and one in javascript. I want to pass some arguments from the C# script and run the .js script. Something like so:
(from the .cs file)
Process.Start("test.js", string1, string2);
This doesn't seem to work though, as I get Windows Script Host Syntax errors. How can I get Vegas to run the .js file instead of WSH taking over?
Alternatively, how can I go about converting the .js code into C# so I can combine it into the .cs file?