5 Replies Latest reply: Jun 27, 2010 3:27 AM by Harbs. RSS

    JS Running a script within a script.

    John.Kordas Community Member

      Is there an equivalent to the ID doScript in PS JavaScript?

       


      Look somehting like:

       

      var eventFile = new File(app.path + "/Presets/Scripts/CreateMetaMarque.jsx");


      doScript(eventFile );

       


      I've set up and action to run my script call Test and the doAction works but would like to run the script direct.

       

      app.doAction ("Test", "Default Actions")

       

       

      Any suggesetions?