Copy link to clipboard
Copied
Hello Everyone,
I'm trying to figure out how to batch split in Acrobat DC and it looks like the batch wizard can't handle that?
Here's the project: Accounts Receivable sent us 500 PDFs that are missing client signatures. They, unfortunately, included the internal invoice in the packets. This is on either page 1 or page 2. We can't send the internal invoice to the client. We've identified which files need page 1 removed and which page 2 removed and put them in respective folders.
I would like to run a batch script that will remove page 1 (or 2 depending) and save the page, and the remaining packet, as separate files with an offshoot of the original file name. At which point we send all the treated packets off for signatures.
This seems like a basic ask as you can already split a file, and it's just by page number, not anything complicated. Is there a way to batch this? It would save a truck of time and make me look so savvy!
Thanks!
Copy link to clipboard
Copied
If you have Acrobat Pro you can easily do it using an Action and a simple script.
The script to delete the first page of a file is:
this.deletePages(0,0);
The script to delete the second page of a file is:
this.deletePages(1,1);
So you have the Action execute either one of these commands (make sure to un-tick the Prompt User box when creating them!) and then add a Save command, where you can select to insert a fixed suffix to the file name.
Run both Actions on your two folders, and you're done!
Copy link to clipboard
Copied
Thanks for the reply! I was trying to not get too wordy so I spared the rest of the plan... Which was to reattach the split page as the updated PDFs flowed in from the client.
The best work around I can think of right now is to run 2 batches. One that deletes page 1. And then another (on the same batch backed up in another folder) that deletes everything but page 1. That way we still have the internal doc to insert back in later. Not ideal, but... what to do?
Thanks for the handy script!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more