Skip to main content
DamoG1971
Participant
Jan 2, 2017 8:42 PM UTC
Question

Merge and reorder

Hi,

i will regularly be combining PDF documents. Each month I receive 2 documents: one in English, and another in Portuguese. Apart from the languages, the documents are arranged so that they are identical. A simple merge is not sufficient as the purpose of the merge is to facilitate language learning, so I need, for example, page one of the Portuguese document to become page 2 of the merged document. The idea being that each page of English text is followed by its Portuguese counterpart.

i once found code whereby this was done programmatically, but for the life of me a can't find it again. After a PC hard drive reset, I no longer have the code

can you help please?

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Karl Heinz  Kremer
Community Expert
Community Expert
Jan 2, 2017 9:55 PM UTC

Take a look at this old discussion, it describes how to do this: Combining an even pages file and an odd pages file into one PDF achieving propper order

Translate
try67
Community Expert
Community Expert
Jan 2, 2017 8:46 PM UTC

This can be achieved using the insertPages command of the Document object.

If you're interested in a tool that allows you to do it very easily and without having to write the code yourself, check out this one I've developed: Custom-made Adobe Scripts: Acrobat -- Combine Even-Odd Pages

Translate