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

Batch processing on Acrobat PRO DC Macintosh

New Here ,
Apr 26, 2016 Apr 26, 2016

With the older version of Acrobat Pro I use the batch processing to protect several PDF files in one time.

With Acrobat Pro DC (CC 2015) I can only protect PDF file one by one.

Did I miss something?

Thank you

TOPICS
Acrobat SDK and JavaScript
2.1K
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

correct answers 1 Correct answer

Community Expert , Oct 12, 2017 Oct 12, 2017

In the Action Wizard, create a new Action, add an "Execute JavaScript" command to it, then click on Specify Settings and paste the code into the window that opens. Make sure the "Prompt User" box is not ticked, and then run the Action on your files.

Translate
Community Expert ,
Apr 26, 2016 Apr 26, 2016

You can use the Action Wizard.

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
New Here ,
Apr 26, 2016 Apr 26, 2016

Done. Not easy to find the Action Wizard (scroll to the bottom of the window), but now it's ok.

Thanks Bernd 😉

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 Beginner ,
Oct 11, 2017 Oct 11, 2017

Hello. I'm trying to do something similar - I want to batch process many PDF files. They are all multiple pages, and I want to split every file into single pages. (Acrobat DC Pro / Mac)  Is this something that can be done? I played around a little in Action Wizard and was unable to figure it out. Thanks.

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 ,
Oct 11, 2017 Oct 11, 2017

Yes, certainly. It's best done with a script. How do you want to name the individual files?

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 Beginner ,
Oct 11, 2017 Oct 11, 2017

Thanks for the quick reply MVP - I'm not an Adobe Acrobat genius .

Probably with a simple line of text, followed by some automatic numbering or something?

Like…

The original file name, followed by “Page x” where x is the page number from that doc?

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 ,
Oct 11, 2017 Oct 11, 2017

MVP is a title, not a username...

Anyway, you can use this code to do that:

for (var p=0; p<this.numPages; p++) {

    this.extractPages(p, p, this.path.replace(/\.pdf$/i, "_Page " + (p+1) + ".pdf"));

}

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 Beginner ,
Oct 12, 2017 Oct 12, 2017

Sorry on the name thing - but I see why it's a title. You're very helpful. However, since I'm not well versed in this, can you please hep me know where to paste that code? Thanks so much.

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 ,
Oct 12, 2017 Oct 12, 2017

In the Action Wizard, create a new Action, add an "Execute JavaScript" command to it, then click on Specify Settings and paste the code into the window that opens. Make sure the "Prompt User" box is not ticked, and then run the Action on your files.

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 Beginner ,
Oct 12, 2017 Oct 12, 2017
LATEST

GOODNESS GRACIOUS you just saved me hours and hours. Thank you so very much!!!!

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