• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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
Scripting

Views

465

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 Expert ,
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.

Votes

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

Votes

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
Community Expert ,
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

Votes

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