I'm trying to make auto resizing text using the script editor. So far everything is going fine, but I feel my resizing would be more precise if I was using the number of lines the text box uses instead of the number of characters. Is there a way to determine the number of lines of text in a text box with the script editor?