![Carla748](https://vmapp.org/images/player/000default.jpg)
: Photoshop Scripting: batch replace colors I'm trying to write a script that will replace the colors of all same-colored shapes, including those on non-visible layers. I am new to Photoshop scripting,
I'm trying to write a script that will replace the colors of all same-colored shapes, including those on non-visible layers. I am new to Photoshop scripting, but I imagine the pseudocode would work something like this:
for (all shape layers)
if (fill color = #123456 )
fill color = #000000
Is this possible to do?
I tried running the script here, but got an error at 'executeActionGet' (This functionality may not be available in this version of Photoshop). I am using Photoshop CS6.
More posts by @Carla748
1 Comments
Sorted by latest first Latest Oldest Best
I have used ChangeColor in the past to achieve this. Here is the GitHub repo > gist.github.com/theinsanecow/895810
It sounds like this is exactly what you're after, but even if it's just good as a reference point for your script, it should help.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.