Background:
We get a lot of PDF sent into our company and generally the PDF's are password protected. Each vender/company/person generally uses the same password for all the PDF they send.
Company A: Password= ABC
Vender B; Password= 12345
Question:
Is there a way or a script that can input or test a set of "Default Passwords?"
In addition to that, still prompt for a password if it doesn't find it?
Note:
I'm not looking for a password cracker or something that will test the whole english dictionary against the file. We know the passwords, we would just like to streemline the process.
Sadly, there is no way via JavaScript to open a password protected file without user interaction. If you use the app.docOpen ("/path/file.pdf") JavaScript command, and the file is encrypted it will cause the Open Password dialog to appear. There is no way to add the password to the docOpen command as a script parameter.
Sorry,
Steve
Steven Madwin
Software QA Engineer
Adobe Systems Incorporated
345 Park Avenue, MS-W15
San Jose, CA 95110-2704 USA
408.536.4343 p, 408.537.4053 f
Steven [dot] Madwin [at] adobe [dot] com