These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Is there a way to Allow Editing/Signing using JavaScript

ecuellar
Registered: Apr 27 2010
Posts: 5

Alright, I am pretty new to this but I have managed to create a Script that will add Form fields such as Dig. Sig., Text, and Pull Down.
Then i created a Batch Process to run the script on several files at the same time.

the script works great is just that in the original PDF everything is allowed but when the process finish, the new PDFs have lost the permission to fill forms, commenting, signing, etc.

So, I was wondering if there is a way to included this permissions on my script?

I have read some scripts but they are restricted to a group of users, or only when the PDF is password or certificate encrypted. I hope there is something that does not require for me to encrypt the PDF, or have to restricted to a group of users.

Thanks.

Edgar Cuellar

My Product Information:
Acrobat Pro 8.1.2, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2399
Not with JavaScript, but one of the actions in the batch sequences dialog is to set the security settings.
I think that can do what you described. Just add it as another action after your JS.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

ecuellar
Registered: Apr 27 2010
Posts: 5
I have tried your response, but since i do not want to add a Password or Secure ir with a Digital certificate I cannot set what I will allow on the document. Only if i pick the Options "Pasword" or "Certificate".

Thanks for the response.

EC