I have been tooling around with javascript to insert pages.
Experimenting with either
this.insertPages({nPage:1,
cPath:"InsertExampleSource.pdf",
nStart:2 });
OR
this.insertPages({nPage:0,
cPath:"InsertExampleSource.pdf",
nStart:2,
nEnd:3 });
What I am attempting to do is merge two pdf documents and have the pages from the second document follow every other page from the first.
Is this realistic?
EXAMPLE:
PDF A has 5 pages
PDF B has 5 pages
A1
A2
A3
A4
A5
B1
B2
B3
B4
B5
After Merge:
A1
B1
A2
B2
A3
B3
A4
B4
A5
B5
I have created a script that does just that, actually. Have a look here:
http://try67.blogspot.com/2008/12/acrobat-combine-even-odd-pages.php
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com