13 Replies Latest reply on Jun 21, 2012 2:14 AM by Raul_rubi

    Placed in an InDesign document other InDesign attached file on a specific page


      (inserted into another file indesign indesign on a specific page)


      Hey all !



      I'm trying using Script:


      1. in a document already open indesign:

      var myDoc = app.activeDocument;


      2. place another file. indd 

      app.open(File("/c/myTestDocument.indd")); ----> code and not well


      3. also be inserted in a specific page, (eg on page 12 of my active.Document or any other page)

      var addPages = 2;
      // Page number 2 is item(1), since page number 1 is item(0):
      var addAfter = app.activeDocument.pages.item(2);





      to see if I can give Script code to get the result.



      thank you very much hope to answer please.