Question
Pass dialog with JavaScript
Hi,
I want to open a PDF using JavaScript and edit.
But, the following dialog blocks me to open the file.
Can I select one of the options with JavaScript?
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
Thanks,

