Batch convert eps files to CMYK

New Here ,
Mar 21, 2022 Mar 21, 2022

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 😭

TOPICS
How to , Scripting

Views

79

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 21, 2022 Mar 21, 2022

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 21, 2022 Mar 21, 2022

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");
}

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 21, 2022 Mar 21, 2022

Copy link to clipboard

Copied

LATEST

@gabriellecdon 

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.

 

Best regards

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines