How to Use Expressions to Access & Edit Text Properties in After Effects

  Рет қаралды 43,924

ukramedia

ukramedia

Күн бұрын

Пікірлер: 93
@lordihante408
@lordihante408 5 ай бұрын
Dear Ukramedia, I am working with AE for 10 years now and your work comes up on a regular basis when I am looking for specific solutions. Thank you very much, Greetings from Paris
@alecmueller2297
@alecmueller2297 Жыл бұрын
This is a great video. It is now several years old and these expressions initially did not work for me and I got errors where it did not recognize the functions. If this happens, make sure that in your Project Settings, you have the expressions tab set to Java Script. By Default AE 2023 had this setting at Legacy Extended Script. When I set AE to Java Script, everything in this video works great.
@wonderfulnewssv
@wonderfulnewssv Жыл бұрын
yeah, it kinda sucks tutorial makers don't mention which expressions engine is used for their expressions to work.
@smartsegment4685
@smartsegment4685 3 жыл бұрын
One of the best bundle I bought ever, its for smart work.
@ukramedia
@ukramedia 3 жыл бұрын
That's AWESOME! Thank you for your support, SmartSegment!
@elsonfernand
@elsonfernand 3 жыл бұрын
Duuuuuude! Did you just teach us what your product does? Is this serious? God bless you! Stay safe and thank you very much! Greetings from Brazil. 🇧🇷
@ukramedia
@ukramedia 3 жыл бұрын
I did! But... my tool gets you there faster. 😉
@elsonfernand
@elsonfernand 3 жыл бұрын
@@ukramedia, for sure but... just the fact that you teach us something 100% free and that is something your product does surprises me with the greatness of your generosity. Many would not do what you did in this video, that's what I meant. 🙈
@ok-alarm
@ok-alarm 3 жыл бұрын
Sergei is a gift for our community.
@anatoliykulakov1895
@anatoliykulakov1895 3 жыл бұрын
Стисло, доступно, пізнавально! Завдяки цьому прекрасному уроку, я це освоїв!!! Дякую!
@tonybp
@tonybp 3 жыл бұрын
There are many AE channels, yours is the one where I learn the most. And it's practical stuff you actually end up using. Thanks.
@ukramedia
@ukramedia 3 жыл бұрын
Thank you for your very kind words, Tony BP! I appreciate it a lot!
@IllusionSector
@IllusionSector 9 ай бұрын
​@@ukramedia Hi, Sergey. Thanks for the tute. Do you happen to know if it's possible to selectively format parts of the text using a sourceText expression (i.e. without relying on ranged text animators)? Suppose you want the word _'brown'_ in _'A quick _*_brown_*_ fox..._ to have a different font weight, size, or color than the rest of the text. Do these style setting methods support that? Thanks!
@gugumach
@gugumach 3 жыл бұрын
Fantastic video Sergei. The way you present and explain to us it is very simple and practical. Really enjoy watching your videos.
@ukramedia
@ukramedia 3 жыл бұрын
Thank you for your kind words, Gustavo! I'm glad you found this tutorial useful.
@1234561ram
@1234561ram 3 жыл бұрын
"WOW" I really enjoyed the way that explained about text style properties
@ukramedia
@ukramedia 3 жыл бұрын
I'm glad you found this useful.
@fliptopjim
@fliptopjim Жыл бұрын
THANK YOU!! Although I was here for the scripting code (in the second half) I so appreciated your thoroughness I will be buying the script when I get the funds as it is a joy. Thank you so much for both the script and the tutorial/knowledge.
@Centuriez
@Centuriez 2 жыл бұрын
This just saved me a TON of time The Alt+Right Click thing. Thank you!!
@LightspeedTutorials
@LightspeedTutorials Жыл бұрын
1:24 Plugin method Manual method 4:05 | .style. 4:42 | HELPER 4:47 | setText(value) 5:00 |
@diegobis2048
@diegobis2048 Жыл бұрын
thank you so much
@ManeNersesyan
@ManeNersesyan 10 ай бұрын
Very Helpful video, Thank you a lot. I'm suffering with one task, is there any way to animate between font styles like a slider that will change from Light to Bold in the same font?
@CatalinGulan
@CatalinGulan 3 жыл бұрын
Long time no see Sergei..🙈! You remained, and so your channel, probably one of the best one related to Ae Expressions. Thank you very mych for sharing!❤ Hopefully you and your family, are all safely and well!
@ukramedia
@ukramedia 3 жыл бұрын
I'm happy to be back. Thank you for your kind words!
@sergedruz7261
@sergedruz7261 3 жыл бұрын
Sergei, thank you very much for explaining things. This text expressions was very confusing for me, especially that after /style/ you can write as many properties as you need divided by period. It could save me some time if I knew this before))
@ukramedia
@ukramedia 3 жыл бұрын
I'm glad you found this useful, Serge! Thanks for your comment!
@EnglishWithEnes
@EnglishWithEnes 6 ай бұрын
This is some real masterclass here!
@josephb1884
@josephb1884 3 жыл бұрын
Thank you for helping me understand another aspect of writing expressions that I did not know before.
@colorless3560
@colorless3560 3 жыл бұрын
i was looking for this tutorial to use on essential graphics last year and i cant find any. thank you!!! also I was waiting for the font style part but you didn't discuss it. anyway this is a good start for me. thank you 👌
@ukramedia
@ukramedia 3 жыл бұрын
I'm glad you found it useful, Dale! Thanks for giving it a go.
@901D
@901D 3 жыл бұрын
OMG This is exactly what i want to know! I do lot of subtitle animation it helps a lot, thank you
@ukramedia
@ukramedia 3 жыл бұрын
Always happy to help! Thanks for watching the video!
@MxTheArtOfMx
@MxTheArtOfMx 2 жыл бұрын
Thank you for posting these videos on type within After Effects. Your movies have great detail along with really great descriptions.
@REX90WO
@REX90WO 3 жыл бұрын
Thanks for your tutorials. I have a question. How to do everything the same, just not for the whole text, but for specific letters, words, sentences, etc.
@Ryoogah1
@Ryoogah1 2 жыл бұрын
Huge help man, I was wanting to keyframe the distance between letters
@DonTerrell
@DonTerrell 3 жыл бұрын
Been loving the quick tip tutorials you've been sharing!!
@DavidBichoHasBeard
@DavidBichoHasBeard Жыл бұрын
Great! And then - next level. Change paragraph alignment.
@CaptainSnackbar
@CaptainSnackbar 2 жыл бұрын
i think you need to change your expression engine from Leacy ExtendedScript to JavaScript for that to work
@seanjenkinson8887
@seanjenkinson8887 2 жыл бұрын
Great to know. Sometimes I might want to set individual characters to different settings like, for example, "£50' where the "£' is set to a smaller font size than the number... or a person's name where the first name is set to bold or black and the surname is in a thin or light weight. Can this be done in expressions? I've been trying to figure it out but not having much luck.
@christiaannel5504
@christiaannel5504 Жыл бұрын
I would also like to know how to do this. Sergei please help
@bondodesign
@bondodesign 3 жыл бұрын
Another great tip video from Ukramedia :-)
@ukramedia
@ukramedia 3 жыл бұрын
Glad it was helpful, Claes!
@ahmadluayeleiwy3411
@ahmadluayeleiwy3411 Жыл бұрын
What if I want a dropdown menu to change the case and the font every time? I can't make it do both. It's alwas either font or case.
@ok-alarm
@ok-alarm 3 жыл бұрын
Hey Sergei! As always, thanks for this! I have a question tho, Can i access the paragraph box of a text layer through expression, so i can resize it based on a shape layer?? i hope my question is clear.
@ukramedia
@ukramedia 3 жыл бұрын
That's a good question, Rigel. You can do it with a script... however, I don't think you can do that with expressions.
@JL-vq4se
@JL-vq4se 8 ай бұрын
does it work also across composition?
@theadongo
@theadongo 3 жыл бұрын
My use of expressions in AE is improving every day
@ukramedia
@ukramedia 3 жыл бұрын
That's great to hear! Expressions are very powerful.
@dendei123
@dendei123 2 жыл бұрын
Is there any way to differentiate the two lines with different colours? or for example in the setText ("This Text") is RED and then another setText ("This Text 2") is Green? If this makes any sense?
@sicfxmusic
@sicfxmusic 3 жыл бұрын
Epic!! Thanks a lot 🙏👌✔
@ukramedia
@ukramedia 3 жыл бұрын
Glad you liked it!
@kroneck.design
@kroneck.design Жыл бұрын
Super helpful, thanks a lot! :) Greetings
@mbeltowska
@mbeltowska 3 жыл бұрын
Thanks for the tutorial, I've been finding your videos super helpful! I'm stuck on one thing - I want to give the editor control to downsize the font size if the source text is too long, but the text keeps scaling from the top left corner. How can I change this so it scales from the bottom left corner? Thanks again!
@tanakachiriga5291
@tanakachiriga5291 Жыл бұрын
This is great but how do you get just one style property?
@AndrewCortesi
@AndrewCortesi 3 жыл бұрын
This doesn't work unless you have Javascript enabled in your Project Settings. Is there any way to accomplish this with Legacy ExtendScript?
@tenniset
@tenniset 3 жыл бұрын
Once I tried to use style script and it seemed I need to change project settings from legacy extendscript to javascript. But I found some expressions I wrote under legacy extendscript became useless. I guess there are some compatibility issues between these two. Maybe some expressions or wording. I don't know. Hope I will know someday.
@lenonfernandes8584
@lenonfernandes8584 6 ай бұрын
I have 2 texts layers, I apply the smart Text on the first one, but where should I go to link the second text to the first one where I applied the smart text? In the second one, I want to get everything but the color fill from the first one
@bondodesign
@bondodesign 3 жыл бұрын
Question: I have your plugin, but can I share my project-file without plugin, and still have the scripting on the layers? Or do they also need the plugin?
@ukramedia
@ukramedia 3 жыл бұрын
That's the beautiful thing about scripts... once you run the script and apply it to a layer, you don't have to have it to edit it or to use that effect. It uses native After Effects tools that are always installed in After Effects. Does that makes sense?
@DissertazioniVideolu
@DissertazioniVideolu 3 жыл бұрын
What about Kerning, I linked multiple texts in different comps with the same text, I noticed that pick whipping the text source works but it doesn't transfer the kerning in between two letters I had to separate manually. How would you transfer the kerning? I noticed is not in the text properties
@UNVIart11
@UNVIart11 3 жыл бұрын
Hi. How set the "Text alignment"?
@hirenprabtani8796
@hirenprabtani8796 Жыл бұрын
Great
@HimanshuSharma-sg4ql
@HimanshuSharma-sg4ql 7 ай бұрын
thanks alot
@jacobusolivier6863
@jacobusolivier6863 2 жыл бұрын
Thank You for the tutorial! However, when I use the expression, it gives me an error saying "property or method named 'style' in Class 'Text Property' is missing or does not exist."
@TorgeirHolm
@TorgeirHolm 2 жыл бұрын
Too me a while as well, but you have to set expressions to use Javascript instead of legacy. Go to Project settings > expressions > Javascript
@massaxpowa
@massaxpowa 2 жыл бұрын
Hi Sergei, it seems that the leading option doesn't work with AE2023 while working fine in 2021 ;o)
@massaxpowa
@massaxpowa 2 жыл бұрын
Same issue in 2022
@polystormstudio
@polystormstudio 3 жыл бұрын
I have another error (I commented in your latest video as well). I'm using "text.sourceText.style.setText("Ukramedia.com")". I followed your steps exactly. The error is: Error at line 1 in property 'text' of layer 1 ('text') in comp 'Comp 2'. property or method named 'style' in Class 'TextProperty' is missing or does not exist. It may have been renamed, moved, deleted, or the name may have been mistype, property or method named 'style' in Class 'TextProperty' is missing or does not exist. It may have been renamed ... etc
@Audiopuncture_
@Audiopuncture_ 3 жыл бұрын
had the same problem, under "project settings" you have to change the expressions engine from legacy extendscript to javascript
@polystormstudio
@polystormstudio 3 жыл бұрын
@@Audiopuncture_ OMG thanks!
@themolx
@themolx 3 жыл бұрын
@@Audiopuncture_ you just saved me man!! thanks!!!
@jouriverhoeven
@jouriverhoeven 2 жыл бұрын
@@Audiopuncture_ Thanks for that!
@AndrewMarston
@AndrewMarston 3 жыл бұрын
I've wondered why Adobe doesn't allow the font size and other text properties to be key framed natively. Smart Text wins.
@ukramedia
@ukramedia 3 жыл бұрын
Same here! Thanks, Andrew!
@romerlaidsaar2994
@romerlaidsaar2994 4 ай бұрын
Really useful tutorial. Thanks! I have been looking for a solution to change text properties of selected words. Let's say I control value with slider and add unit of measurement at the end and I need this to be in different style - effect("Slider Control")("Slider").value.toFixed(1)+("m") - how to get this?
@jameswoollacott3108
@jameswoollacott3108 2 жыл бұрын
This is great, but does anyone know how to change the style midway through? So if I were to write an expression like: "text one" + (different colour) "Text two" I'm looking at creating a MoGrt with two bits of changeable information in one text layer, but they are supposed to be two different colours. I know how to write the whole thing but cannot find a function to change the text colour at a certain point onwards.
@Lyn3z
@Lyn3z 2 жыл бұрын
Do you have a solution for that?
@jameswoollacott2801
@jameswoollacott2801 Жыл бұрын
@@Lyn3z I did find one, I can't quite remember how I did it, but I believe I put an expression on the range selector start value to be however long the first text input was, then set the end of the range selector to something very high
@aaalllfff
@aaalllfff 3 жыл бұрын
I am trying to change the text from another layer with "thisComp.layer(3).text.sourceText.style.setText("hello");" but nothing happens! Can anyone explain why? Thanks!
@andrewabuya9315
@andrewabuya9315 Жыл бұрын
@ashishcchauhan
@ashishcchauhan Жыл бұрын
how to access the Superscript?
@olivia-pp3mi
@olivia-pp3mi 3 жыл бұрын
whenever i open up my graphs it shows “no selected properties have expressions” and it’s really annoying. how can i get rid of it?
@vjhighlander
@vjhighlander 3 жыл бұрын
Unfortunately, there is no "Text" in Expression language menu... (((
@gianlucafabbricino8281
@gianlucafabbricino8281 3 жыл бұрын
When I try to control "FontSize" through if statement, the slider doesn't work :(
@trscheit
@trscheit 3 жыл бұрын
change the expression language to javascript in project settings.
@michaelohare390
@michaelohare390 2 жыл бұрын
@@trscheit , good question. and thank you Sergi for the reply. it would have been nice to have at the start of the tutorial, nevertheless, lesson learned. Cheers
@devmotions6651
@devmotions6651 3 жыл бұрын
I love 💕 it but help me
@ukramedia
@ukramedia 3 жыл бұрын
How can I help you?
@devmotions6651
@devmotions6651 3 жыл бұрын
@@ukramedia sir I need after effect basics tutorial
@devmotions6651
@devmotions6651 3 жыл бұрын
@@ukramedia thank you
@ukramedia
@ukramedia 3 жыл бұрын
@@devmotions6651 I'll see what I can do.
4 Powerful Uses for the Split Expression in After Effects
7:47
How to Use the Dropdown Menu in After Effects
15:57
ukramedia
Рет қаралды 51 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 48 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,7 МЛН
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 64 МЛН
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН
How an Excel Spreadsheet Saved Me Hours in After Effects
13:37
5 Amazing Expressions in After Effects
22:07
School of Motion
Рет қаралды 504 М.
After effects | Football lineup GFX | Template
1:34
Bram Euser
Рет қаралды 38 М.
After Effects Expressions 306 - Advanced Text
10:22
Animoplex
Рет қаралды 57 М.
Team Trump Gets Ready To TAKE OVER
Ben Shapiro
Рет қаралды 23 М.
10 Quick After Effects Techniques I LOVE
8:01
Ben Marriott
Рет қаралды 727 М.
SourceRectAtTime() Revisited - Adobe After Effects tutorial
10:23
After Effects: Dynamic Proximity Effectors with Expressions
13:46
Creative Dojo
Рет қаралды 38 М.
Top 10 After Effects Expressions for Amazing Motion Design
12:13
Ben Marriott
Рет қаралды 286 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 48 МЛН