6 Replies Latest reply on Dec 3, 2014 6:26 AM by Ricardo85x

    Select all content of indesign document for attaching script


      I have a script that does some useful operation for my document. But it always need have selected part of document, like

      if( app.selection.length > 0 ) ...

      Could you ask me how can I select all pages from indesign document. I can have a lot of pages. And I have a lot of .indd files
      I tried use app.activeDocument.pages.item(0).allPageItems; but it isn't effect even for page =(

      Maybe I can use 'for' loop but maybe there is some function for selecting all document, not only one page