Activity › Forums › Adobe After Effects Expressions › Use Source Text as expression
-
Use Source Text as expression
Posted by Remi Monedi on April 8, 2020 at 2:25 pmHi everyone,
I have a text layer with a slider. In the source Text, I wrote “wiggle(5,50)” (without the quotation mark).
I’d like the Slider property to use this text as an expression. How? I’ve searched the internet for 1 hour and I can’t find an answer!The code below obviously doesn’t work. AE understands it as a Text value, not a property or expression.
Have a nice day!
thisLayer.text.sourceText;
Remi Monedi replied 6 years ago 3 Members · 8 Replies -
8 Replies
-
Tomas Bumbulevičius
April 9, 2020 at 11:11 amRemi, as a workaround, you could instead define a wiggle in the slider, and just control numeric values by assigning other slider values (for speed and influence).
I tried Dan’s example in CC2019 and it also does not work though.
Find out more:
Motion Graphics Design & After Effects Tutorials
On YT
On VH -
Remi Monedi
April 9, 2020 at 1:17 pmThank you for the workaround Tomas but I am trying to create a project to test expression calculation speed and your solution won’t work :
I wanted to have a text layer where I can write the expression I want to test and then have the properties of 50 layers linked to this Source text. This way I could easily change/improve the expression on just a single text layer and see how it affects the preview time on a lot of layers.
This is the easiest setup I came up with but maybe it’s not possible to convert text values into property. -
Tomas Bumbulevičius
April 9, 2020 at 2:35 pmWould love to see the results if you come up to a solution! In the meanwhile, if some idea pops into my head I will let you know. Are you using CC2017 only or higher versions are applicable too?
Find out more:
Motion Graphics Design & After Effects Tutorials
On YT
On VH -
Remi Monedi
April 10, 2020 at 8:56 amIf the results are conclusive I will share the project file Tomas, I’ll let you know! For now I’m working on AE CC2017 to maximize its compatibility.
Reply to this Discussion! Login or Sign Up