Script for "select all layers" and "collect in new layer"
Hi everbody,
can someone help me with a script idea that selects all layers in an Illustrator file (regardless of name or number of layers) and collects these layers in a new file?
So that afterwards I have only one layer in the file and the original layers are kept as sub-layers.
Unfortunately there is no menu command to select all layers, so that I can create an action. As far as I know, this can only be done by clicking. Everything I have found in script libraries so far works with single individual layer names.
Thanks a lot for your help!
Many greetings,
Peter
