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

How to automatically display files in order for batch processing operations

Explorer ,
Jun 15, 2016 Jun 15, 2016

Hi,

I would like to apply an action wizard on a large number of files which have a numerical file name (prefix or postfix).  However, when I click on the "Add Files" icon, the results displayed are not in numerical order (see attachment).  I realize I can move 2, 3, 4, 5, 6, 7, 8, and 9 to the appropriate order with the "Move Up" button but this is tedious.

Another issue I have is that the currently open document also automatically shows up in this list (see "1.pdf" in the attachment).  How can I make it so there is no pre-existing file in selection box even if I have 1.pdf open?

Thanks.

S

TOPICS
Acrobat SDK and JavaScript , Windows
874
Translate
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
Explorer ,
Jun 15, 2016 Jun 15, 2016

Forgot Attachment.

Capture.PNG

Translate
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 ,
Jun 15, 2016 Jun 15, 2016

The action will process every file. The order of the files are not important.

Translate
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
Explorer ,
Jun 15, 2016 Jun 15, 2016

TY for the reply but the order is important for the subsequent actions because a document label is going to be applied based on a sequential order.

Translate
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 ,
Jun 15, 2016 Jun 15, 2016

You can't set the order in which the files will be processed using an

Action.

On Wed, Jun 15, 2016 at 8:21 PM, sargums46564804 <forums_noreply@adobe.com>

Translate
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
Explorer ,
Jun 15, 2016 Jun 15, 2016

How can I make this happen using javascript?

Translate
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 ,
Jun 15, 2016 Jun 15, 2016
LATEST

You can use the Action to collect the file-paths of the files you want to process, and then use a script to sort them and then process them.

However, a script can't do everything an Action can do.

Translate
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 ,
Jun 15, 2016 Jun 15, 2016

In this case change the name of the files, like 01, 02, and so on.

Translate
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