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

Adding user and owner passwords from a command line script

Registered: May 16 2011
Posts: 1

Hi,
 
I'm new to this sight, so if I have missed a resource or a better forum for this question, then please point me in the right direction.
 
I want to add security to an existing pdf document, but do it from the command line (without opening the Acrobat IDE). I have Acrobat X.
 
I believe there is some way of controlling Acrobat from a command line script (VB, or JavaScript, or the like). Is there a library of such scripts where I might find one that does just what I want? If not, is there a simple reference I can read to see how I might go about doing this - if indeed it is possible.
 
Thanks for any tips, links or suggestions.

My Product Information:
Acrobat Standard 10.0.2, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1875
You can create an external program to control Acrobat and manipulate document. It learn more, you should get the Acrobat SDK and read up on Interapplication Communications (IAC) to see what's possible. I think the only way you'll be able to apply security is through the JavaScript object (JSO). For more information on the methods you'd use, see: http://acrobatusers.com/tutorials/2007/10/apply_security_with_js/