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

I need a script to change colors via swatches in multiple files at once

New Here ,
Oct 20, 2022 Oct 20, 2022

Copy link to clipboard

Copied

So I have files with fill colors, that I need to replace to different ones. I am using swatches for all colors, so it would be handy to use swatch names. Also it would be handy to have minimal interface, so I can enter values, as I'm working on multiple color swatches.

Example: swatch_name_blue replace with swatch_name_green across all open files.

TOPICS
How to , Scripting

Views

48

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

correct answers 1 Correct answer

Community Expert , Oct 20, 2022 Oct 20, 2022

Couldn't you just record an action with the Recolor Artwork tool and run that as a batch?

 

Mylenium

Likes

Translate

Translate
Community Expert ,
Oct 20, 2022 Oct 20, 2022

Copy link to clipboard

Copied

Couldn't you just record an action with the Recolor Artwork tool and run that as a batch?

 

Mylenium

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
New Here ,
Oct 20, 2022 Oct 20, 2022

Copy link to clipboard

Copied

LATEST

Worked like a charm. Thank you 🙂

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
Community Expert ,
Oct 20, 2022 Oct 20, 2022

Copy link to clipboard

Copied

The recolor function cannot be recorded. Recoloring artwork can be recorded as an action, but scripting might be easier. You would probably need to be more specific about what kind of objects  need to be recolored in the file.

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