javascript – Photoshop script to export unique layer permutation compositions

I’m using the following script to generate compositions within the top-level document groups. However I want only unique combinations of the layers and not every possible combination. For example there are 5 elements in 5 colors and I want only unique combinations to be generated, as shown in the screen shot. There should be a … Read more