Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 92756

Re: How to find number of lines in the text content?

$
0
0

It will work when we terminate the line with Enter key.

 

It isn't working in the following case,

- Create a point type text item on the photoshop document.

- Write the line like "This is a" . Now press Shift+Enter key (Cursor will move to the next line).

- Write anything like "sample.".

- Now execute the script on this text item. It will return 1.


Viewing all articles
Browse latest Browse all 92756

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>