2 Replies Latest reply on Jan 27, 2011 5:34 AM by Mikhail Ivanyushin

    How to select a spread in Indesign CS3?

    Mikhail Ivanyushin

      Hello All!
      Can somebody give me an idea how to select a spread in Indesign CS3 ?
      The simplest script

       

      #target indesign
      var myDocument = app.documents.item(0);
      app.activeWindow.zoom(ZoomOptions.FIT_SPREAD);
      for (j=0; j < myDocument.spreads.length; j++) {
             app.select(myDocument.spreads[j]);
             alert("j: " + j);
      }

       

      Windows XP is used, and here this script works in CS4 and CS5 absolutely correct -- I see what it jumps from one spread to next and shows in alert message an index of current spread.
      But in CS3 the program only calculates number of next spread but on screen I see the same layout.
      May be there is an another way to select spread?

       

      Thank you.
      Mikhail