Skip to main content
Known Participant
July 11, 2021
Question

Custom Save As Settings?

  • July 11, 2021
  • 1 reply
  • 275 views

Hello.

 

Is there a way to allow me to make my own export settings so I don't have to change everything everytime I export?

 

What I want to do specifically is Save a document as

EPS illustrator 10

Preview Format: None

Options: all unchecked

 

And save this so this is default everytime, is this possible at all?

I'm saving things everytime with these settings and its really annoying to have to change 3 settings 500 times aday.

This topic has been closed for replies.

1 reply

Legend
July 11, 2021

Hello @MindGems,

 

Give the below script a try.....

var doc = app.activeDocument;

var saveOpts = new EPSSaveOptions();

saveOpts.cmykPostScript = false;
saveOpts.compatibility = Compatibility.ILLUSTRATOR10;
saveOpts.embedAllFonts = false;
saveOpts.embedLinkedFiles = false;
saveOpts.includeDocumentThumbnails = false;
saveOpts.postScript = EPSPostScriptLevelEnum.LEVEL3;
saveOpts.preview = EPSPreview.None;
saveOpts.saveMultipleArtboards = false;

var saveName = doc.name.replace(/.ai$/i, ".eps");
var newFile = new File ( doc.path + "/" + saveName );   
doc.saveAs(newFile, saveOpts);
doc.close();

 

Regards,

Mike