Skip to main content
Inspiring
May 5, 2021
Question

Save SaveAs this.saveAs

  • May 5, 2021
  • 2 replies
  • 1671 views

Hi
I tried on the file the formulas listed on this page https://www.pdfscripting.com/public/How-to-Save-a-PDF-2.cfm with Acrobat DC. The formula var oMyDoc = <… PDF being operated on…> 
app.execMenuItem ("Save", oMyDoc); works.
Other functions do not work, app.execMenuItem ("Save"); and -this.saveAs ("/ c / temp / temp.pdf");
etc
Please, can anyone explain to me why the functions indicated in the tutorial do not work?

This topic has been closed for replies.

2 replies

Legend
May 6, 2021

What did you do, specifically, to make sure you are running in a trusted context? 

Legend
May 6, 2021

Also (please answer BOTH questions), what does it say in the console after failure?

Legend
May 5, 2021

Did you read and carefully follow the stuff about trust mechanisms in that page?

ENE5CD9Author
Inspiring
May 6, 2021

Yes