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

Action to Save a Copy and Remove Security from multiple pdfs Acrobat Pro

New Here ,
Mar 26, 2024 Mar 26, 2024

I need to set up an Action that will Save a Copy of a pdf and then remove the security from the pdfs.

I successfully created an action years ago that worked perfectly but it was lost in an update and I cannot remember how I did it. So I know it is possible, I just can't figure it out again. 

 

We have a business card template online that customers use to input their information. The files are then sent to my area to be upoaded for print. 

 

The template is secured with usage rights enabled. The usage rights and security have to be removed in order to print.

 

The only way to remove the usage rights (that I am aware of) is to first do a "Save a Copy" and rename the file since Save a Copy will not allow you to overwrite the original file. The original file is then closed and the new saved copy is opened and security can now be removed.

 

There are times when we will receive an order for 100 different names so it becomes exteemely time consuming to prepare them for print given the above process.

 

Any help would be greatly appreciated! 

 

TOPICS
General troubleshooting , How to , PDF , PDF forms , Print and prepress , Security digital signatures and esignatures
618
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 ,
Mar 27, 2024 Mar 27, 2024

You can't  remove the usage rights with an action in Acrobat Pro.

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 ,
Mar 27, 2024 Mar 27, 2024

Use this code in the Action:

 

event.target.saveAs({cPath:event.target.path, bCopy:true});

 

 

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

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 ,
Mar 27, 2024 Mar 27, 2024
LATEST

You can remove the security methods with an action created with Acrobat Pro X (10) or earlier.

You can then import and use this action in a current version of Acrobat Pro.

This why this option is still available in the Preferences:

 

Capture_2403272322.png


Acrobate du PDF, InDesigner et Photoshopographe
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