Copy link to clipboard
Copied
Goal: create javascript/Adobe SDK code that takes comments from one PDF and inserts them into another
Nice to have: trigger this event from commandline, e.g. myScript source.pdf target.pdf
Is this goal feasible? Is it possible to trigger this event without opening either PDF in Adobe Acrobat/Reader (if it's even possible to do this using reader only)?
Much thanks!
Copy link to clipboard
Copied
It's possible, but tricky, and of course, both PDFs have to be opened in Acrobat for this to work. There are two techniques.
1. Save comments into an FDF file. The trick is to keep acrobat from writing the document ID into the FDF. Then this file can be imported into any other file. I don't think this technique will work in Reader, but haven't tried it so it might.
2. Write a script to copy comments from one PDF to another. This will work on Reader for sure.
Copy link to clipboard
Copied
It can't be executed from the command-line, though. For that you would need a stand-alone application.