I've about 15 gigabyte of PDFs scanned with an old version of Adobe Acrobat that are huge.
Adobe Acrobat XI Standard that comes with my new scanner has an option to (it seems lossless) recompress these PDFs. Usually this saves over 2/3 of a document, often even 80% or 90%.
Given that there is about 7 thousand files, I want to automate this process.
This is how you do this manually:
- open the PDF file in Adobe Acrobat XI Standard
- in the
Filemenu choose,Save as Other...thenReduced size PDF - in the dialog, from
Make compatible withchooseAcrobat 10 and later, then pressOK - in the
Save Asdialog, keep the filename, then pressSave - wait (sometimes long, this can take a minute for files that like 50 megabytes large) for completion
How can I automate this?
(it looks like the ScanSnap software does at least some UI automation here and there, so it looks possible somehow)
4 Answers
This is how I did it in Adobe Acrobat XI Standard:
- no need for the Action Wizard
- no need for AutoIt
The trick is to ensure no PDF files are open in Adobe Acrobat XI Standard. Then the Reduce side PDF... behaviour is different.
I used C:\temp as folder for the steps below. You can enhance the steps by
- using files from any set of folders
- drag/drop files from Windows Explorer, or compatible tool (like Everything Search Engine) to the list of files to process
These are the steps I used
- Start Adobe Acrobat XI Standard, ensure there are no PDF files opened
- in the
Filemenu choose,Save as Other...thenReduced size PDF... - in the
Arrange Documentsdialog, chooseAdd Files..., thenAdd Files...(confused? see the images below) - in the
Add Filesdialog, select a bunch of PDF files - repeat steps 3. and 4 when needed, or drag files from Windows Explorer, Everything Search Engine, et cetera
- in the
Arrange Documentsdialog, pressOK - in the
Reduce File Sizedialog, from theMake compatible withlistbox, chooseAcrobat 10 and later, then pressOK - in the
Output Optionsdialog, keep the settings, then pressOK - wait until the progress dialog has shown all files have been processed and returns itself to the main Adobe Acrobat XI Standard window
Notes:
- The wait can take very long, especially with thousands of files
I converted on copies of each directory so I could view before/after results
- Started Adobe Acrobat XI Standard
- Main window: Chose
File, thenSave as Other..., thenReduced size PDF... Arrange Documentsdialog: ChoseAdd Files..., thenAdd Files...Add filesdialog: Added files fromC:\tempArrange Documentsdialog: ChooseOKReduce File Sizedialog: choseAcrobat 10 and later, thenOKOutput Optionsdialog: kept the settings, then pressedOKProgressdialog: wait until all files have been processed
- Started Adobe Acrobat XI Standard
You would create an Action, using the Action Wizard in Acrobat XI (Pro).
8You can create a batch process in Adobe Acrobat XI (cannot say about other versions) as shown in this link. Here are the steps for this post.
Create New Action using Action Wizard
Add Reduce File Size Tool. Make sure you uncheck Prompt User as needed
Add Save tool from Save & Export. In Specify Settings make sure you have the needed settings (rename or overwrite)
You will see your tool under Actions in Tools (right side tabs)
You can Use AutoIt 3 to automate this.
Use the included recorder. Start in File manager with the first file. Enter, sleep, alt+f... Last step alt+F4, to get back to the file manager. Then Cursor down, to get to the next file.
If they are in different folders, use Windows search as the starting point.
2