Identify password protected PDFs

Post Reply
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Identify password protected PDFs

Post by gabrielp »

Hey guys,
I have some issues processing jobs with Photoshop, where a PDF cannot be opened because it has a password. The issue is, it disables the configurator and then nothing can process through that path. Is there any way to test for protected PDFs so I can route them differently?
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Identify password protected PDFs

Post by gabrielp »

Per Kent on LinkedIn, Stats.SecurityMethod is what I was looking for.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Post Reply