How to use Adobe optimization API

New Here ,
Dec 13, 2017

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.

Adobe Community Professional
Correct answer by Thom Parker | Adobe Community Professional

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

TOPICS
Acrobat SDK and JavaScript

Views

202

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to use Adobe optimization API

New Here ,
Dec 13, 2017

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.

Adobe Community Professional
Correct answer by Thom Parker | Adobe Community Professional

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

TOPICS
Acrobat SDK and JavaScript

Views

203

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 13, 2017 0
Most Valuable Participant ,
Dec 14, 2017

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 14, 2017 1
Adobe Community Professional ,
Dec 14, 2017

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 14, 2017 0