How to include Document level JavaScript in Adobe Acrobat Standard DC for all documents.
I have folder level Javascript at 'C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Javascripts'. The script at this location executes when Adobe App is opened, and in this script we already have code to add custom menu items. At this point "app.activeDocs" is null or empty.
I would like to execute a javascript at Document level so that I can get current 'Doc' object and set Actions (DidSave,WillClose) using 'myDoc.setAction("DidSave", "TrustedCustomSave();");'
Also, this Document level javascript needs to be applicable for all pdf documents.
version- AdobeAcrobat Standard DC
Please suggest a way to set actions (DidSave,WillClose) on Document load.
Any help would be much appreciated.
