Merge all layers with the same prefix
I am trying to figure out how to merge all layers with the same prefix and then use the prefix to name the new combined layer
The example would be as follows. An INDD file contains the following layers
- FPO layer 1
- FPO layer 2
- SHELL random naming
- SHELL another random name
- SHELL A 3rd random name
- Another Layers
- More Layers
Upon running the script a dialog would ask me for a Prefix word, in this case i would type 'SHELL' and hit ok
the resulting layers would look as follows
- FPO layer 1
- FPO layer 2
- SHELL
- Another Layers
- More Layers
Any help with this would be much appreciated!
Thanks
