Skip to main content
Participant
February 12, 2010
Question

Avoiding "PDF Modification Detected" blocking dialog

  • February 12, 2010
  • 3 replies
  • 2372 views

Hello,

I am working on an Illustrator script opens an AI or PDF file, extracts some information, then converts it to a JPEG.  It is designed to run unattended in batch mode, and sometimes is used to process PDF files which were not created by us, but were submitted from the Internet.  The script is working properly for most documents.

However, we sometimes end up with PDF files that cause this warning dialog to pop up:

PDF Modification Detected
This document has been modified outside of Adobe Illustrator.
How do you want to proceed?

[ ] Discard changes, preserving Illustrator editing capabilities
[ ] Keep changes, reducing Illustrator editing capabilities

Cancel; OK

The dialog is blocking, and so prevents our unattended script from running until a user walks to the console and presses "OK" or "Cancel".

The script is in JavaScript, and contains this line, which I thought would prevent this sort of dialog from coming up:

app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;

Does anybody have suggestions for avoiding this dialog?  I would prefer for it to just select "OK" automatically, but even failing would be much better than blocking.

Alternatively, any suggestions for detecting documents that are likely to trigger this warning beforehand?

Thanks!

-----Scott.

This topic has been closed for replies.

3 replies

Participant
September 25, 2018

I managed to get around this issue via placing the modified PDF into a blank AI document of the same specs. It looses the layer structure but for my purposes it is good enough.

Participant
September 25, 2018

Hi,

has this ever been resolved? I am facing the issue right now.

CarlosCanto
Community Expert
Community Expert
September 25, 2018

no, as far as I know there's no resolution to bypass the warning,

Participant
June 30, 2016

Hi,

I too have the same question. Even though, we disabling the dialog/alert boxes it shows for "PDF Modification Detected".

Do anyone have the idea/trick to overcome this dialog/alert to process without user interaction.

Also, Why the text frame are splitting when disabling the "Preserve Illustrator Editing Capabilities" while saving the PDF.

Thanks.