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

Batch convert eps files to CMYK

New Here ,
Mar 21, 2022 Mar 21, 2022

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
800
Translate
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

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.

Translate
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
Contributor ,
Mar 21, 2022 Mar 21, 2022

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