Copy link to clipboard
Copied
I have 35 individual eps files that I need to convert to CMYK colour mode. Is it possible to run a batch process in Illustrator or Bridge? Otherwise I will have to open, convert and save each one individually š
Copy link to clipboard
Copied
You can create an action while recording the open, convert and save process and use Batch from the Actions panel menu to play it on a folder of .eps files.
Copy link to clipboard
Copied
hey @gabriellecdon try this
var doc = app.activeDocument;
var cntDocs = app.documents.length;
for(i=0;i<=cntDocs -1; i++){
app.executeMenuCommand('doc-color-cmyk');
app.executeMenuCommand("save");
app.executeMenuCommand("close");
}
Copy link to clipboard
Copied
Try following snippet
var folder = Folder.selectDialog("Select folder");
if (folder != null) {
var _files = folder.getFiles("*.eps")
for (var f = 0; f < _files.length; f++) {
app.open(_files[f]);
app.executeMenuCommand('doc-color-cmyk');
app.executeMenuCommand("save");
app.executeMenuCommand("close");
}
}
Before running this, you can keep your all eps files in one folder and choose the folder after running the script. The above script will open each eps file exists in the folder and convert to cmyk, save and then close it.