12 Replies Latest reply on Sep 3, 2010 4:03 AM by Harbs.

    Creating a snippet of multiple pages

    Barqx Level 1

      I know how to create a snippet of oen page using:


              var myObj = new Array();
              myObj = app.activeWindow.activePage.pageItems;
              var myGroup = app.activeWindow.activePage.groups.add(myObj);
              myGroup.exportFile(ExportFormat.INDESIGN_SNIPPET, File("snippet.idms"));



      However, when I have two pages and use the code, it only exports a snippet for one page. How do I create a snippet of both pages?