Skip to main content
Participating Frequently
June 10, 2008
Question

Multi-page InDesign document to single-page InDesign documents script?

  • June 10, 2008
  • 36 replies
  • 5910 views
I'm looking for a script that can take a multi-page Mac InDesign CS2/CS3 document and split it into single-page InDesign documents. Any ideas or comments?
This topic has been closed for replies.

36 replies

Loic.Aigon
Legend
June 11, 2008
Hi Peter,
That's a option. Maybe there is no ideal approach. Each solution having its own potentials and wicknesses.
Leading this way, don't we loose layers, rulers, stuff that we might need ?
Loic
Peter Kahrel
Community Expert
Community Expert
June 11, 2008
Another approach (not tried):

Do with each page:
1. Override master items
2. Duplicate all textframes in situ, label them "duped"
3. Move "duped" frames to new document
4. Save document

Or something similar. Master items need to be overridden to ensure that running headers with page numbers and things that that are included.

Peter
Loic.Aigon
Legend
June 11, 2008
Hi all,
Ain't got the time to find back what I have done but I couldn't take my mind at rest this morning. Moreover, I guess the code to write is not really difficult although heavy. So I tried to write it.
But I am worried.
My first thought is to "duplicate" the actual file, then delete all unecessary pages, save as a copy with an appropriate name, then undo and keep on processing with the next page.
However, so far the only way to remove the pages seems to consists in a loop through an array of pages while removing them. Considering that I will finally undo, it represents a lot of unuseful tasks.
I imagined that I could just select the icons of the pages in the pages panels then just delete it. So it would be only one action to delete and one action to undo. Unfortunately I don't see any way to talk to the pages panel.
app.pagesPanel produces error all the time and anyway I don't see any instruction for selecting the paes into it and later to handle them.
Any ideas ?
Peter Kahrel
Community Expert
Community Expert
June 11, 2008
My converters won't do what Mike wants.

Peter
Participant
June 11, 2008
Try one of these:
Peter Kahrels Batch-convert/export files:
http://www.kahrel.plus.com/indesignscripts.html

or at InDesigSecrets:
http://indesignsecrets.com/page-exporter-utility-peu-5-script-updated-for-cs3.php

or try to search this forum for PDF Export ;-)
Loic.Aigon
Legend
June 10, 2008
Oh gosh, I wrote for my own use a script quite similar to the export pages from acrobat. I forgot it but I know it wasn't totally stabilized.
I will try to find it back. It could be a start for you.
Loic