Copy link to clipboard
Copied
is there any way using JavaScript to perform this function for a PDF/A document opened in read-only mode when preferences are set to PDF/A read only mode ? Thanks for any help you might provide;
There is a way using Preflight to remove the PDF/A compliance indicator, but to do so you'd still have to disable the user preference in order for Acrobat to allow the change.
Copy link to clipboard
Copied
What function do you want to perform? JavaScripts are not allowed in PDF/A conforming documents.
Copy link to clipboard
Copied
...thx for quick reply...my q is really about whether (through OLE Automation, JSObject, or just by simply opening up the Script Debugger window) the initial banner (pictured below) can be disposed of;
Obviously setting the preference for read-only opening of PDF/A to 'never' is one way of ensuring this banner never appears, but can I get rid (i.e. remove the PDF/A compliance & corresponding XMP props from the document) it any other way ? I thought there might be some command which could be executed in code which would achieve exactly the same effect as a simple mouse click...
the reason for doing this is that once it is remove, I can then execute script (locally or remotely) to perform a preflight conversion according to another PDF profile;
Copy link to clipboard
Copied
There is a way using Preflight to remove the PDF/A compliance indicator, but to do so you'd still have to disable the user preference in order for Acrobat to allow the change.
Copy link to clipboard
Copied
thanks George...really appreciate the clarification;
Find more inspiration, events, and resources on the new Adobe Community
Explore Now