Change pattern fill color

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

andreyorlov33
Posts: 3
Joined: Fri May 19, 2017 8:01 pm

Change pattern fill color

Post 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 !