Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function exportFileAsEPS(path, saveDoc) {
- var newFile = new File(path);
- var saveOpts = new EPSSaveOptions();
- saveOpts.cmykPostScript = true;
- saveOpts.embedAllFonts = true;
- saveDoc.saveAs(newFile, saveOpts);
- }
- var folderPath = Folder.myDocuments.fsName + "/feather/EPS/";
- for (var i = 0; i < app.documents.length; i++) {
- exportFileAsEPS(folderPath + app.documents[i].name.split(".")[0] + ".eps", app.documents[i]);
- }
Add Comment
Please, Sign In to add comment