Skip to main content
natmicwal
Participant
January 12, 2018
Answered

Disable "Do you want to save changes before closing"

  • January 12, 2018
  • 12 replies
  • 74987 views

I'd like to know if there's a way to disable the popup that says "Do you want to save changes before closing?"?

For example, I open a multi-page pdf. I extract one page. Click the "Save" icon. "Save as PDF" window opens. Type new file name. Click "Save." Click the "x" to close the newly saved file. Then the prompt for "Do you want to save changes before closing?" pops up....WHY!?

It's the same for just simply opening and closing a file. Open file. Click the "X" to close. BOOM. stupid "save" prompt comes up. I don't have any changes to save.

This is a HUGE time-suck considering how frequently I use these functions. The previous version of the program that I had did not give me this issue. I only got the prompt to save when I'd actually make changes to the document.

This is for Adobe Acrobat Standard 2017. This is on my office computer as well, so I likely won't be able to run scripts or whatever other fancy fixes are suggested. I'll likely be limited to options already preset within the program....so really this post is directed DIRECTLY at Adobe. Please tell me there's a setting to make this awful popup go away! @adobe adobecare

Correct answer Karl Heinz Kremer

Actually, it is true that Acrobat (or Reader) will not prompt you when you close a document that was not modified. If you do get the prompt, that means that something in the document was modified. You may not have modified the document, but behind the scenes, something happened that makes the document different than it was at the time it was loaded into Acrobat. This can be either due to some JavaScript calculation in the document, or due to a problem with the PDF file that was fixed by Acrobat. Without access to the documents, it's impossible to say what happened. You can try to disable JavaScript in Acrobat's preferences to see if that gets rid of the prompt. If it does, then the prompt was due to a change in the document's state caused by a script. If you are still getting the prompt, then chances are that you are dealing with a corrupt PDF file (and there is very likely evidence of that in a very brief message that pops up on the screen, but may go away before you are actually able to read it).

You can file an enhancement request with Adobe for a read-only mode: Feature Request/Bug Report Form

12 replies

Inspiring
January 13, 2018

One can use the document's "dirty" property to "false" and prevent any prompt for saving. Note this is not available to Reader.

You should be able to edit the document level scripts within the PDF or for any action within the PDF. Depending upon which directory and what access you have been granted to that directory, you should be able to save your edited PDF.If you cannot, then you need to contact the individual responsible for maintaining that PDF.

natmicwal
natmicwalAuthor
Participant
January 15, 2018

Thank you for your response, however your notes are a bit above my head and I don't understand what/how to do this.

Karl Heinz  Kremer
Community Expert
Community Expert
January 12, 2018

Acrobat does not prompt you to save a file if you just open it and close it without modifying it.

If it does, then that means that the file was modified. There are different potential causes for that. The most common one is that you are actually dealing with a corrupt PDF file, and Acrobat fixed it for you when you loaded it. This one is very easy to verify: Open the document, close and and save it. Then open it again and close it. Does Acrobat still prompt you to save it? If not, then Acrobat fixed the bad PDF file for you in the first save operation.

If you are not dealing with a bad PDF file, then it's very likely that something inside the PDF file is modifying it. This can e.g. be a form field that shows the current date or time, or some other field that was modified when you opened the file (e.g. via a calculation script associated with that field). You can see if this is causing the save prompt by disabling Acrobat's JavaScript in Preferences (Preferences>JavaScript>uncheck "Enable Acrobat JavaScript"). Now open the document and close it. Does it still prompt you to save the file? If so, then unfortunately I am out of ideas about what it could be.

natmicwal
natmicwalAuthor
Participant
January 15, 2018

Hi Karl,

Unfortunately I struck out on both of your suggestions. I'm still getting the prompt. And it happens with every pdf I have. Most of the files I'm working with right now are scans--multiple pages that I personally scanned into one pdf. But this also happens with files I did not originate; anything I've opened via email or opened from any drive on my computer still gets this prompt. Thank you for your help though. At least we've eliminated the usual suspects!

Bernd Alheit
Community Expert
Community Expert
January 15, 2018

Did you scan the documents with Adobe Acrobat?