Skip to main content
glooft
Inspiring
Sep 19, 2022 11:15 PM UTC
Question

Automating color changes

I am working on a design that has 7 color palette variations. There are about 8 layers that each need the color changed in each file. So this takes me about 20 minutes to do all 7 files manually. I have many files that these colors will be applied to. If this could be automated, it would be a huge time saver. 

 

Does anyone know of a tutorial that explains how I could script/automate this process? I'm not a coder but willing to try anything if there's good explanation.

 

Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

m1b
Community Expert
Community Expert
Sep 19, 2022 11:27 PM UTC

Hi @glooft, this might be something you could do with the Recolor Artwork command (Edit menu). Try googling for video tutorials—I found plenty when I looked just now.

 

Otherwise, can you share two sample files: before and after you have manually changed colors? Samples don't have to be the real thing, but must be set up with the same color types. That will help us understand specific details.

- Mark

Translate
glooft
glooftAuthor
Inspiring
Sep 20, 2022 12:21 AM UTC

Thanks Mark. Recolor Artwork appears to be what I'm looking for based on a few experiments. No scripting necessary. Wish I knew about this earlier.

 

Gary

Translate
Charu Rajput
Community Expert
Community Expert
Sep 19, 2022 11:22 PM UTC

Hi @glooft 

Could you please share some sample files, how layers are arranged. A more description will be really helpful.

To start learning the scripting, you can refer the following documentation

https://ai-scripting.docsforadobe.dev/

 

Translate
Best regards
glooft
glooftAuthor
Inspiring
Sep 20, 2022 12:04 AM UTC

https://assets.adobe.com/id/urn:aaid:sc:US:794e38f4-7cc7-4c7d-8339-ecf7302e8897?view=difile

 

This is one color palette of the seven. Each layer in this file needs the color changed and saved into a new file. I have a text file that has the hex value for each palette. 

 

Does that make sense? Let me know if you need more info.

 

Thanks!

Translate
Charu Rajput
Community Expert
Community Expert
Sep 20, 2022 12:22 AM UTC

So, what new colors would you like to use. For an example, X color must be replaced by Y color. 

Do you have some mapping of these?

Translate
Best regards