Page 1 of 1

Script to change a pattern fill layer color

Posted: Fri May 19, 2017 8:09 pm
by andreyorlov33
Hello, I am attempting to write a javascript script for photoshop CS16 to target a pattern fill layer and change its color.
I am not able to do so with the .fill command as i found out that command cannot be used on the patternfill layer type.
I've never programmed in adobe environment before and I would greatly appreciate it if someone could point me in the right direction
as to how i would accomplish this task .
in short here is a what i am trying to accomplish:
1 select a pattern fill layer by name
2 change its color

Thank you in advanced !

Re: Script to change a pattern fill layer color

Posted: Sat May 20, 2017 7:58 am
by txuku
Bonjour

I am dominique filiol on the Adobe forum :)


And it is the same answer:
"Gn" "Rd" "Ylw" "Grn" "Bl" "Vlt" "Orng"


Colors authorized by CC are

Gray red yellow green blue purple orange ! :roll: