In mirth , in a JavaScript Writer Destination I am trying to run a .exe file with arguments \ as the following:
oShell.ShellExecute(commandtoRun,file_path,"","open","1");
and I get an error at this line:
var oShell = new ActiveXObject("Shell.Application");
the error is:
ReferenceError: "ActiveXObject" is not defined.
I searched and learnt that my piece of code can only run on internet explorer , and actually I am writing this script to run in a middle-ware which is Mirth Connect
Can anyone help me using one of these options: - a way to run .exe fle with arguments in Mirth? - an alternative for ActiveXObject in Javascript? - a way to invoke ActiveXObject in Mirth?
Best Regards,