Java Adobe Acrobat 9: Javascript: Merge Odd/Even Pages

  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Javascript
AI Thread Summary
To merge two PDF documents, Doc1.pdf (containing odd-numbered pages) and Doc2.pdf (containing even-numbered pages), a user seeks assistance with JavaScript, specifically within the browser console, due to restrictions on installing new files. The user is looking for a straightforward solution to integrate the even pages from Doc2 into their respective positions in Doc1. Additionally, it is noted that free software like PDFsam can accomplish this task efficiently with a single click, providing an alternative for those unable to use JavaScript.
Saladsamurai
Messages
3,009
Reaction score
7
Hey folks

I don't know if anyone can help with this, it should be straightforward though. I have a 2 PDF documents called Doc1.pdf and Doc2.pdf. Doc1 contains all of the odd numbered pages of a main document and Doc2 contains the even ones. I would like to merge the Doc2 even pages into Doc1 in their respective positions.

I am not sure how to use Javascript at all; I just know that it exists. If anyone could help out with this one, I would be quite grateful. All suggestions are welcome.

PS I do know that I have to do this from the Javascript console or window or whatever it is called since I cannot install new .js files (not adminstrator).
 
Technology news on Phys.org
I come up with the same problem to solve, and I suppose you can use the free software pdfsam to do this odd-even merging in one click. very nicely done.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top