Copy link to clipboard
Copied
Every day I view some PDF files generated by a problematic system used in my corporate. Every time I view them, a small window titled "Reconfigure" and says "This file is damaged, but is being repaired." in it appears and disappears. No big problem until now. However, while closing the file Adobe keeps asking "Do you want to save changes to "..pdf" before closing?". I don't want this warning. The only solution that I could find until now is selecting [Adobe Acrobat Preferences > Security (Enhanced) > Protected View --> All files]. However this generates a yellow bar at the top which is stating the case and shrinks the view. A better solution?
Copy link to clipboard
Copied
Sounds like Acrobat repaired a structural error within the PDF. In conclusion the PDF has to be saved to keep the changes.
With JavaScript you can force Acrobat to close a PDF without saving it.
this.closeDoc(true);
However. you would have to open at least JavaScript console and type in this command. It might be faster to save and close the PDF with the shortcuts [Ctrl]+[S] and Ctrl]+[W].
Find more inspiration, events, and resources on the new Adobe Community
Explore Now