Calling a .exe inside of a vegas script

bradbradbrad wrote on 11/21/2016, 9:41 AM

I'm wanting to use Phil Harvey's Exif Wrapper tool inside of a vegas script.  I'm fairly certain I can setup an external process and get things working, but I would like to use a C# wrapper that I found.  The wrapper works find on its own, but getting vegas to recognize it doesn't seem to work.  

Any ideas?

Comments

Marco. wrote on 11/21/2016, 10:33 AM

For a JS script this is an example which works for me:

import System;
import ScriptPortal.Vegas;
import System.Diagnostics;

var cmd = "c:\\Program Files\\your_folder\\your_file.exe";
var start : Process = Process.Start(cmd);

bradbradbrad wrote on 11/21/2016, 10:39 AM

Thanks Marco.  I'm able to do something similar in C#.  I can start a separate process that will execute my .exe.  However, I'm trying to use a wrapper that calls the .exe exclusively through Vegas, that way I don't have to start a separate process.