8 Replies Latest reply on Jan 15, 2011 4:00 PM by Haakenlid

    Calling the indesign.executeScript() from another app

    ZionGates

      Greetings I'm trying to tell Indesign to run a script from a photoshop script with the command indesign.executeScript().

       

      The issue I'm having is that I don't know how to specify the target script. Is it looking for a fully qualified path, or just a name of a script in the scripts panel?

       

      the following code works;

       

      var script = "alert('testing')"
      indesign.executeScript(script)

       

      can someone post an example please. I'm using jsx files and CS5.