Skip to main content
Participant
June 21, 2019
Answered

How to skip this pop up message when batch save PDF as JPG?

  • June 21, 2019
  • 3 replies
  • 2939 views

Hi, I am using Acrobat XI Pro and I'm currently using the Action Wizard function to batch save the PDF files into jpg files.  However, I sometimes encountered the below pop up windows asking whether I would like to save before closing the file.  It causes the action not totally "automatic".  Is there any settings or ways that these messages would not be shown?

Thanks

This topic has been closed for replies.
Correct answer Bernd Alheit

Add a Javascript step with:

this.dirty = false;

3 replies

Participant
June 23, 2019

https://imgur.com/LLvaObn

The case is i let the user to download a pdf form to fill some information for me and i set some java script to prevent user to blank the cell. If some of the cell is blank there will be a pop up message to warn them like the above image. And now i got a lot of form to print so we are using the action wizard to convert all the pdf into jpg(print faster in jpg), but there are two type of pop up is stopping the action, one is the above java script warning i set and the other one is the ""save as" pop up, your answer add a java script step with: this.dity = fasle; did help with the "save as" pop up, can you write a script that if the " save as" pop up press no and if the warning pop up press enter?

Bernd Alheit
Community Expert
Community Expert
June 23, 2019

You must disable/remove the Javascript code.

Participant
June 23, 2019
Bernd Alheit
Community Expert
Community Expert
June 23, 2019

Sorry, I can't read this.

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
June 21, 2019

Add a Javascript step with:

this.dirty = false;

Participant
June 23, 2019

thanks, it works. there is also a javascript error message reminding me that some fields on the pdf are not filled and i have to press enter every single time. do u hv any suggestions? thanks so much

Bernd Alheit
Community Expert
Community Expert
June 23, 2019

Post the error message.