New answers tagged photoshop-scripting
Another method to do this is to create "Layer Comps" and from scripts export each Layer Comp as a file. I'm sorry, I'm new here, so I do not know how to put in advanced formatting and images, so my answer may seem pretty empty.
What I'm saying is, that this upper solution is not fully correct. Because: textItem.position does not return the correct top upper left position. From what I have found out you need to add kind of an offset at least to "y". In my tests this offset has always been 3px. Thus the bounds are: [YourTextLayer.textItem.position, ...
Top 50 recent answers are included