• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to use Adobe optimization API

New Here ,
Dec 13, 2017 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.

TOPICS
Acrobat SDK and JavaScript

Views

528

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
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 14, 2017 Dec 14, 2017

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

...

Votes

Translate

Translate
LEGEND ,
Dec 14, 2017 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.

Votes

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
community guidelines
Community Expert ,
Dec 14, 2017 Dec 14, 2017

Copy link to clipboard

Copied

LATEST

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

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

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
community guidelines