Skip to main content
Participant
Oct 20, 2022 7:49 AM UTC
Answered

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

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.

This topic is closed to new replies. Start a new post to keep the conversation going.
Mylenium
MyleniumCorrect answer
Legend
Oct 20, 2022 8:22 AM UTC

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

 

Mylenium

3 replies

Monika Gause
Community Expert
Community Expert
Oct 20, 2022 9:06 AM UTC

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.

Translate
Mylenium
MyleniumCorrect answer
Legend
Oct 20, 2022 8:22 AM UTC

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

 

Mylenium

Translate
Participant
Oct 20, 2022 10:16 AM UTC

Worked like a charm. Thank you 🙂

Translate