2 Replies Latest reply on Mar 12, 2016 10:31 AM by KnightD

    Needing help on Jump to Page for All Open script

    KnightD Level 1

      I am having difficulty making this script work on all open documents. Only works when there is a single document open.


          var selectedPage = 1

           for(myCounter = app.documents.length; myCounter > 0; myCounter--){

              myDoc = app.documents.item(myCounter-1);

              page = myDoc.pages.item(selectedPage - 1);

              app.activeWindow.activePage = page;



      I get the error "Request failed because object is from a different document"