2 Replies Latest reply on Feb 17, 2010 11:30 AM by Yuliaart

    Bring to front InDesign doc CS4 js

    Yuliaart Level 1

      I have a script for Indesign that opens Ps file runs ps script on it and then updates it in InDesign, and leaves Ps as an active program on the front, and I need for InDesign doc. to come forward as an active app. I've tried few lines and none of them work:

       


      var myDoc = app.activeDocument;

      myDoc.activate();

      or
      myDoc.open();

      or
      myDoc.windows = Window.BRINGTOFRONT ();

      or
      myDoc.windows = Window.bringToFront ();

      or
      myDoc.select (myNewFile); // select file in InDesign

       

       

      Your help is highly appreciated.

       

      Yulia