Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Use Automator to set allowed actions on PDF files Apps
With the PDF actions in Automator, it's possible to replace a lot of functions that used to require Acrobat, including Encrypts PDF, to assign a password to the file.

However, if you only want to restrict the copying or printing of the file, you still need to use Acrobat. I know I can use ghostscript for that, but I wanted a more Mac OS X way, so I wrote a small Unix program to change the permissions, then I wrote an Automator action (using AppleScript Studio) to access the Unix program. Finally, I made an Automator workflow and put it in ~/PDF Services, so I can create the PDFs from the Print menu.

You can download the binaries and source (PDF Permissions 1.0) from my web site (28KB MacOSXHints mirror download).

[robg adds: I haven't tested this one.]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[7,661 views]  

10.4: Use Automator to set allowed actions on PDF files | 2 comments | Create New Account
Click here to return to the '10.4: Use Automator to set allowed actions on PDF files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Automator to set allowed actions on PDF files
Authored by: LeeH on Aug 07, '06 09:33:28AM

Save it as a Finder plug-in and you can quickly protect already created pdfs.

However, wish there was some way that it would save the new protected pdf to the desktop with the same name as the original pdf or with the same name+P for "protected". (As a Finder workflow it seems to create a new pdf file with a gibberishname.pdf)



[ Reply to This | # ]
10.4: Use Automator to set allowed actions on PDF files
Authored by: cat52 on Aug 08, '06 10:28:18AM

The 'gibberishname' is generated by the OS so is unique and is not overwrited, but if you don't mind the overwriting you can open the PDF Permissions.workflow in Automator and add 'Rename PDF Document' between the actions, then save the workflow.
Because is a workflow, you can add or change to suit your needs.



[ Reply to This | # ]