Search found 2 matches

by LettuceAndTomatoePLZ
February 4th, 2015, 4:30 pm
Forum: Expressions Library
Topic: Translate source text into a number?
Replies: 2
Views: 10767

Re: Translate source text into a number?

Something like this should work: txt = thisComp.layer("Text Layer").text.sourceText.value; n = parseFloat(txt); if (isNaN(n)) value else n; Dan Thank you so much, Dan! PS. I'm not sure if you'll see this response, but you have figuratively saved my butt so many times with your immense knowledge and...
by LettuceAndTomatoePLZ
January 29th, 2015, 7:18 pm
Forum: Expressions Library
Topic: Translate source text into a number?
Replies: 2
Views: 10767

Translate source text into a number?

Hello, I'm trying to control the value of a slider with a TextProperty number (the Source Text property in a text layer). Is this possible in AE CC 2014? I can't directly pickwhip from my slider stopwatch to my source text stopwatch, the error I'm presented with is: "Error at line 0 in property 'Sli...