Search found 3 matches

by wheelz13
April 19th, 2017, 2:22 pm
Forum: Scripts Discussion
Topic: Randomize position on a text layer animator by word.
Replies: 0
Views: 7941

Randomize position on a text layer animator by word.

I have a text layer with many words and a range selector animating the Start from 0 - 100% 'based on' words (not characters). The positions I want the words to start at I would like to be random but limited to specific starting positions: x-axis can start from -1700 (left) or 1700 (right) y-axis ca...
by wheelz13
April 18th, 2017, 11:56 pm
Forum: Scripts Discussion
Topic: How can I get the number of word in a text layer?
Replies: 2
Views: 7966

How can I get the number of word in a text layer?

Hey there,

Currently, I can count characters with this:

Code: Select all

myText = text.sourceText;
myText.length
What I really need is a way to count the number of words within a text layer.

Is this possible?

Thanks in advance! :-)