Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Save file with script (skip warning 'modified outside Illustrator')

$
0
0

Hi All,

 

We all know that command:

 

app.activeDocument.save();

 

saves the document skipping all the dialogs and even alert that is popping out every time when you manually saving your file on a server:

Screen Shot 2015-04-04 at 11.03.58.png

 

My issue is that I am working on PDF files (with preserved Illustrator editing capabilities) almost all the time rather than .ai files, and everytime I use

 

app.activeDocument.save();

 

The .ai file is created.

 

My question is if it's possible to save PDF that you're working on same as you would manually 'Save' from the menu context, ommiting that annoying dialog about modified file?

 

Regards

Peter


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>