Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Split InDesign Spread

Return to Member Forum

  • Author
    Posts
    • #14366863
      Rich Harvey
      Participant

      Hi!

      Can anyone recommend a script to split InDesign spreads? I want left/right pages to remain left/right … with no page elements moving. I created a document for Amazon KDP paperback … but for a hardcover edition with bleed, LULU requires each page to have a .125 bleed-off. I used InDesign CS3 for 15 years, and had a great script that would accomplish the task in seconds. But the script was lost and I don’t know where else to download it.

      Someone suggested “allow pages to shuffle,” etc., but that’s not going to work. This is a 450-page document, and I want to find the script to save time on this and every future project.

    • #14366865
      Rich Harvey
      Participant

      Well, after poking around, I found this in the “community” folder of InDesign Scripts:
      __

      aDoc = app.activeDocument;
      for (i=0;i<aDoc.pages.length;i++){
      aSide = aDoc.pages[i].side;
      aSide = aSide + “”;
      aDoc.pages[i].insertLabel(“direction”,aSide);
      }
      aDoc.documentPreferences.allowPageShuffle = true;
      aDoc.documentPreferences.facingPages = false;
      aDoc.documentPreferences.allowPageShuffle = false;
      aDoc.documentPreferences.facingPages = true;
      for (i=0;i<aDoc.pages.length;i++){
      myPage = aDoc.pages[i];
      mySide = myPage.extractLabel(“direction”);
      if (mySide == “1818653800”){
      myPage.move(LocationOptions.atEnd,myPage,BindingOptions.leftAlign);
      }else{
      myPage.move(LocationOptions.atEnd,myPage,BindingOptions.rightAlign);
      }
      }
      __

      Unfortunately, the script instantly separates the spreads, but everything on the right hand page (with the exception of parent page items) shifts to the right by about a half-inch. I have to highlight everything and do an align>center or align to left-hand margin. Is there anything in the script code I can edit to correct this problem?

Viewing 1 reply thread
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads