Identify overset text in a text frame
Hi
I have some text frames in a document. Some of these text frames has more text than it could display (so a portion of the text is hidden).
Is there any way (a property or method) JavaScript could know a text frame has overset text?
For example. To test, suppose I want to test a specific layer called "phrase". So:
var doc = app.activeDocument
var phrase = doc.layers.getByName("phrase");
if (<CONDITION TO KNOW IF PHRASE HAS OVERSET>){
//treat the problem
}
Any suggestion?
Looked at Photoshop JavaScript reference but did not found any property or method for layer.textItem to return such information.
Thank you very much
Gustavo
