# Photoshop scripting help

**URL:** <https://forum.kirupa.com/t/photoshop-scripting-help/69370>\
**Category:** design\
**Created:** [November 3, 2004, 7:16pm UTC](https://forum.kirupa.com/t/photoshop-scripting-help/69370 "2004-11-03T19:16:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ter\_scotland](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@ter\_scotland](https://forum.kirupa.com/u/ter_scotland)\
**Post date:** [November 3, 2004, 7:16pm UTC](https://forum.kirupa.com/t/photoshop-scripting-help/69370/1 "2004-11-03T19:16:07Z")

</div>

Hi,

I want a script that is going to load in a series of psd files, select certain layers and change the colours.

I can get the files loaded in and select the layer, but what I can’t find out how to do is to change the colour of the shape.

I have a button shape and I want to change it from green to blue, and I want the script to do this for me.

I also want it to be able to edit layer styles, so that I can tell it to use the foreground colour as a colour overlay and set the opacity of that.

Any help would be greatly appreciated.
