#Batch changing Color Overlay Blending Styles layer with script

1 messages · Page 1 of 1 (latest)

obsidian trout
#

Is it possible to automatically change the properties of a blending options / color overlay layer using batch actions or a script? I have layers spread across 200 PSD files that all have the EXACT same color overlay hex code ccff73. Would like to change this hex code to 7fc800. But I've been googling for an hour now and every script I've tried to make with AI (I'm not a programmer) fails.

#

Is this theoretically possible with JavaScript or will I have to do it all by hand?

little abyss
# obsidian trout Is it possible to automatically change the properties of a blending options / co...

Are the layers in question always named the same way?

If that's the case, why not record a simple action?
Layers styles can be saved,
Run a new action -> select your layer, double click to open the effect panel, click on the layer style you previously saved (the one containing the colour overlay) and it will be added to the layer. stop the action.

Go to file > automate >batch and run the batch onto a whole folder containing the 200 psd file)

#

You can even run it from Bridge,going to tools>photoshop> batch and following the same steps by steps.
If you're unsure, I would duplicate the files into a new folder, and run the batch on the duplicate)
And then run it, and go to get some coffee and biscuits, while you are looking at the whole thing working by itself 🙂

obsidian trout
#

I'm experimenting with different methods such as the usual replace color but it's not as precise as I want it to be

#

Going to keep testing different methods but I'm really cursing myself for not making them smart objects when I started this project lol

little abyss
#

Does the layer always - say - the 4th from the bottom? (or from the top)

If that's the case, after starting to record the action, select either the top or bottom layer, and use ALT + [ (or ] ) to move up (or down) the stack of layers. It's important that you use the keyboard shortcuts for the action to work

If all fails, what you can do is introduce a pause in your action to select the right layer. That implies that you will need to be there, just to click on the right layer...

#

Yes, insight is always 20/20 😁
But setting them up with the same names etc, can be useful, even if you don't want to go full smart objects.
You could change the layers names with an action as well, if you feel it would help

sharp iron