Combining masks to create a new one - Script
Hi everyone!
My coworker and I thought of something that would help us a lot, but we don't know how to develop it.
We receive PSDs from the client with separate groups within the PSD. And we use the groups with the names "Alpha", so we have Alpha 1, Alpha 2 and so on. In most cases, we have to merge the selection of some of these groups and create a new group with this new mask.
The problem is being able to see the masks and know which ones to join, due to the size of the thumbnail. Even increasing the size in the configuration, some are hard to see.
Our idea would be, if possible, a script that generates a window, showing the masks in a larger size, and allowing us to select which ones to join, and in the end already create the group according to the numbering and the mask.
I made a simple interface on the site https://scriptui.joonas.me/ to try to illustrate the idea:
So if, for example, we want to combine the Alpha 1 and Alpha 7 masks, we mark their checkboxes and press the button to create. Then, in this case, the Alpha 8 group would be created, with the mask of 1 and 7 combined:
The number of groups varies between images, so both the visualization in this window and the creation of the new group can change.
We also have other groups and adjustments with masks, so I don't know if it would be possible to read only the "Alpha" groups and not have all the masks in the image.
I don't know if I could explain it well, my native language is not English. I am available for any clarification.
I know it's something very complex, so I ask for your help, my knowledge of scripts is very limited.
Is it possible for us to do something like that?
Thank you all!
