2 Replies Latest reply on Apr 29, 2011 11:16 PM by Yuliaart

    Delete facing pages in InDesign CS5 js

    Yuliaart Level 1

      Hi, I need to delete some facing pages in InDesign. When I delete a single page, my script works, but as soon as it gets to the one of the double pages, it crashes the InDesign.

       

      Is there a way to delete facing pages?

       

      for (var a = myPages-1;  a>=1; a--){
          myDoc.pages[a].remove();
      }
      

       

       

      Thank you for your help.

      Yulia