Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This might be a bit farfetched for Photoshop, but I was wondering if there was the possibility of creating an action to make 42 rectangles by sourcing the colour from 42 swatches in the Swatches Library.

So let's say we have three swatches in our Swatches Library (red, blue, green), would you be able to create an action that created three rectangles in those three colours?

Any help on this would be appreciated.


share|improve this question
I don't think an action is going to cut it for this, but it could certainly be scripted. What version of Photoshop? Mac or Windows? – TunaMaxx Dec 5 '13 at 17:55
@TunaMaxx Using Photoshop CC. Mac. Thanks! – realph Dec 5 '13 at 18:27
OK, I will build you a quick script for this, but it will be a couple of hours. I'm pretty swamped this morning. – TunaMaxx Dec 5 '13 at 18:38
@TunaMaxx Oh, you're awesome! I really appreciate the help. THANK YOU! – realph Dec 5 '13 at 18:40
I still plan on doing this for you, but today has been a gong show. I will give it a whirl as soon as I can. – TunaMaxx Dec 5 '13 at 23:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.