Script for annotating layer objects
Hello all. I'd like to know if it is technically possible to do this by script:
The steps:
1)Script run through all layers. Pick the first character of each layer
2)Create one text layer for each layer in a separated group with that first character (in the example case it's a number, on yellow markings)
3)Make sure the text isn't necessarily centered on the object (red dot on boundary blue) but touching an area with solid pixels of that layer.

Thanks in advance.
