How to “Save Copy” rather than “Save As” in Acrobat Javascript?

I just found out how to do Javascript in Acrobat and I am having a problem.

I need to "Save a copy" of a ton of files to get them out of the "Extend functions in Adobe Reader" mode. I am trying to understand how in JS, so that I can execute all files. The only method I could find, it looks like it can work, is saveAs (). I tried

this.saveAs({cPath:"end/folder/path", bCopy:true}); 

but it just makes an exact duplicate, not "Save a copy ...". Same thing if I feed pdfa / e / x to cConvID.

I think saveAs () is the wrong method, but I cannot find the right one. Any help would be greatly appreciated.

+4
source share

Source: https://habr.com/ru/post/1401255/


All Articles