Copy link to clipboard
Copied
I used Adobe Acrobat Pro and added the javascript code: this.saveAs("/D/Downloads/file.pdf"); As a result, an error occurred during debugging: NotAllowedError: The security settings prohibit access to this property or method.Doc.saveAs:1:AcroForm:Button1:Annot1:MouseUp:Action1
This method has to be used from a privileged context, such as a trusted function in a folder-level script.
Copy link to clipboard
Copied
Look at the documentation of the method saveAs.
Copy link to clipboard
Copied
This method has to be used from a privileged context, such as a trusted function in a folder-level script.
Copy link to clipboard
Copied
thanks!