Determine whether a PDF file is read only
Hello,
I am creating a diagnostic tool for PDFs and the output from the diagnostic tool is a tab delimited file. I would like to use Javascript to add a flag for whether or not the document is read only. By read only, I mean any of the following:
1. If you go to the location of the PDF file, right click on the icon of the PDF file, click Properties, and then on the General tab in the Attributes section at the bottom, the Read-only checkbox is checked.
2. The file is open by another user
3. The file is locked
What has not worked is the solution offered in this post:
Determining if PDF is read only
appRightsValidate({nValidateOption: 1});
Any ideas are appreciated.
Thanks,
Chris
