5 Replies Latest reply on Jan 14, 2015 8:10 AM by Erik Spellerberg

    Running external executable in Photoshop CC 2014

    Erik Spellerberg Level 1

      I am trying to link my panel buttons to external exe files, but I am having problems. I have tried two main approaches, opening the exe directly and then also running an external javascript file that then opens the exe.

       

      var oShell = WScript.CreateObject("WScript.Shell");
      var oExec = oShell.Run('D:/PhotoshopExporter.exe');
      

       

      But the debugger is telling me Uncaught ReferenceError: Wscript is not defined. I tried another method but it gave the same complaint, except regarding ActiveX