Copy link to clipboard
Copied
May I know to to user Adobe optimization API to optimize multiple pdf files in one batch.
If possible, please show the source code.
Step 1: Open the folder which multiple pdf files exist
Step 2: Optimize these pdf files and output into the destination folder
Thanks in advance.
In Acrobat DC a Batch Sequence is called an Action. And it is built from a series of "Commands".
There is an API In the Acrobat SDK for creating batch commands. The Batch Command is registered with a data structure that contains a set of call backs, Once registered it will appear on the Commands list in the "Actions" control panel.
Of course, you can already create an "Action" to optimize a whole folder of PDFs without writing your own Batch Commands.
See this article:
https://acrobatusers.com/tutorials/create-custom-action-acrobat-x
...Copy link to clipboard
Copied
There is no API for batch. You need to read the directory in your own code and open each file in turn. Which optimisation API do you plan to use, and which part of the documentation is not clear? Please don’t ask us to write your code.
Copy link to clipboard
Copied
In Acrobat DC a Batch Sequence is called an Action. And it is built from a series of "Commands".
There is an API In the Acrobat SDK for creating batch commands. The Batch Command is registered with a data structure that contains a set of call backs, Once registered it will appear on the Commands list in the "Actions" control panel.
Of course, you can already create an "Action" to optimize a whole folder of PDFs without writing your own Batch Commands.
See this article:
https://acrobatusers.com/tutorials/create-custom-action-acrobat-x