Copy link to clipboard
Copied
Hey fam,
I want an script when selected (Vector shapes, solid color layers) I can set a color a from the psd itself as picking one of the squares below
bottom left are the color codes suggested,
I already have the script to sort/filter the layers I want but I would like someway it picks the color from the bottom color chart and fill all selected layers.
Thanks Fam
There's not much for me to go by.
So here are some general links that may or may not help depending on the file setup:
// Script to change color on all selected layers supports solid, shape, text and artlayers
var doc;
if (app.documents.length <= 0) {
alert("No active document!");
} else {
doc = app.activeDocument;
doc.s
Give this script a go:
/*
Recolour Colour Label Layers from Palette Swatches.jsx
v1.0 - 7th August 2024, Stephen Marsh
https://community.adobe.com/t5/photoshop-ecosystem-discussions/script-change-fill-color-layer/td-p/14778076
*/
#target photoshop
/***** Stage 1 - Get the colour palette swatches *****/
// Hide the Photoshop panels
app.togglePalettes();
// Select the colour palette layer
app.activeDocument.activeLayer = app.activeDocument.layers.getByName('COLORPALETTE');
// E
...
Copy link to clipboard
Copied
Bro 👀,
Is there a way I can be your student? THIS IS CRAZY!!!!!!! I don't know if this is the craziest thing you have ever done with (scripts of course) lol, but defenetively YOU GOT THIS!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now