3 Replies Latest reply on Jul 1, 2009 9:15 AM by seuzo-oJiFme

    Help- JS script to enable security

    SuperMacGuy Level 2


      I am not quite sure if this is even possible- I need to have a script that will activate security in a PDF (require password for editing/extracting content, OK to print high res) and generate a random password, and resave the file. It of course can't re-ask to have the password entered by hand, as no one will know the random password, it has to all get set programatically.

      I need to integrate this in an Applescript that will combine a couple non-secure files into a secure file. I'm fine with the Applescript part but don't have a knowledge of javascript.

      Any examples or code/snippets is appreciated!