Copy link to clipboard
Copied
Im trying to optimize my workload at my job. My company uses their own proprietary system to create documents for their clients. When the system creates these individual documents, they automatically get opened in Adobe Acrobat as individual PDFs without being saved anywhere on the computer. It is then my job to "flatten" each individual PDF, combine all printed PDFs into one single PDF (in a specific order) and then save it/send it to its final destination. I took it upon myself to attempt to speed up this process, I logged into my own personal Acrobat account and upgraded to PRO, instead of the companys standard account. I was able to use the Action Wizard to execute the JS command this.flattenPages(); as a short cut. This is a step in the right direction however I would like an Action Wizard JS command that flattens ALL open PDF tabs at once instead of clicking my newly created shortcut on each individual document.
Assuming this is posible I would then combine all flattened docs together into one PDF and then "Save As"
Can the Combination Process be automated too? If so can the docs be combined in a specific order instead of me manually adjusting them? Can this whole Process be automated up until the saving of the document?
Im not familiar with Adobe nor JS whatsover, so this is all new to me. Help would be appreciated 🙂
Copy link to clipboard
Copied
Hi @rcarone
Hope you are doing well and thanks for reaching out.
The workflow you are trying to achieve is might be possible using JavaScript. For more information please check the help pages listed below:
https://acrobatusers.com/tutorials/javascript_console/
https://helpx.adobe.com/acrobat/using/applying-actions-scripts-pdfs.html
Hope it will help
Regards
Amal
Copy link to clipboard
Copied
I would be much easier to use an automation script for this purpose.
Something like this, which you can run from the console window.
app.activeDocs.forEach(oDoc=>oDoc.flattenPages());
This script could be expanded to combine all the files as well, but you'll need to have some way to identify the order.
Copy link to clipboard
Copied
@Thom Parker Thank you, your script works perfectly for flattening all open my open PDFs. As far as the combining files, I will just have to manually re-organize the PDFs in proper order... as I lack the technical skills to write such a script, lol.
Thanks again 🙂