I am attempting to create a script to replace all the colors in a picture with a number pattern. I have created a script but it does not work as intended.
The picture is coloured with swatches and need to be replaced by a swatch with the same name but for a "." at the end, i.e. all items of colour Bh will need to be replaced with Bh. pattern