Это видео недоступно.
Сожалеем об этом.
How to Get Text Styles From Another Layer in After Effects
HTML-код
- Опубликовано: 25 июл 2024
- /// About:
In this video, I will show you how to get styles & source text from another text layer in After Effects.
/// Links from the Video:
Project File: ukramedia.com/?add-to-cart=30...
Tutorial on Text Styles: • How to Use Expressions...
Ukrameida Online Community: www.ukramedia.com/community
Smart Bundle: • These Tools DESTROYED ...
/// Let's Connect:
Facebook: / ukramedia
Sergei's Facebook Page: / sergeiprokhn. .
Twitter: / ukramedia
Instagram: / ukramedia
Pinterest: / ukramedia
Linkedin: / ukra. .
RUclips: / ukramedia
Ukramedia Online Community: www.ukramedia.com/community
/// Mailing Address:
P.O. Box 621
Huntersville, NC 28070
#AfterEffects #MotionDesign #MotionGraphics
The only tutorial showing real text needs fast and easy explained. Thanks
BTW in case, someone else runs into this issue I had. Open project settings, select the Expressions tab, and change the Expressions Engine to JavaScript.
I was typing in all of this and getting an error saying the function doesn't exist... and I'm like... bro yes it does, look he's doing it right there, also you have a whole web page dedicated to this stuff... what are you talking about... AHHHHHHHH.
Great tutorial! lol
They are all super helpful!
You are so on top of explaining the latest and greatest AE features! Thank you!!
Thanks for the lesson! But it's important to know that such expression works only from AE 2020.
And yes, as it was already mentioned below: turn on in Project Settings -> Expressions Engine: "JavaScript".
HUGE! thank you as this was a nightmare to find/solve.
Sergei, thanks for this awesome series of tutors.
Thank YOU, Serge!
Was looking for exactly this! Thanks a ton Ukramedia 🙏❤
I'm glad you found this useful, Rajmeet!
THANK YOU! this is so specific but its EXACTLY what i needed!
You're welcome! I'm glad the tutorial was exactly what you needed. Thanks for watching and happy creating!
just what I needed, thanks
so helpful!!!! thanks a million
Сергій, дякую Вам за дуже корисне відео!)
Thank you for your kind words, Alex!
Hi Sergej, thank you so much for this precious video. I was wondering how to catch Text Style (not Source) from a different Composition. Should I change the string "thisComp" in something else?
Super helpful!
I'm always happy to help, Uncle Trick!
Чудовий урок! Дякую!!!
You're a genius! Saved me with this vid.
Thank you for your kind words! I'm glad I was able to help.
REALLY COOL!
Thanks, Alexandre!
thanks alot
Спасибо,реально помог)
Thanks very much. I'm starting to dive deep in After Effects. Do you think there's a way of changing one text layer in one precomp, by multiples text layer in another comp. For exemple, a name that would change every 5 seconds? I have search a lot for that but haven't found anything yet. Thanks!
thank you for this video.
is it possible to combine different sources and styles in one text layer?
i would love to see an example resulting in "Text one goes here" in yellow on the first line, and "text two goes here" in blue on the second. thanks again!
the master
Loving this channel, You're such a sensei, thanks for this tutorial.
By any chance do you know how I can configure the child to update a single word in a different font style?
I mean, I want to change for example just one or two words to a different font style. I select the two words inside the text, then change it to a different font style, in this specific case changes in the parent are not applied on the children.
thanks in advance!
Thanks Sergei for another great one.
Is there a way to set different styles in the same source text?
Like some kind of "setStyleAt" or something like that
Nope. Does not exist unfortunately.
Is there a way to do this that also includes glyphs? I can copy a glyph from illustrator but I can't figure out how to reference it in an expression.
Is there a w ay to override a certain style? Cant seem to figure this out. Like if I want a second layer to follow EVERYTHING except I want there to be a stroke and not a fill on the linked text. Thought it would use the "Set" function but I don't think that is the way. Thanks in advance.
Hello! Thank your for a great tutorial. But what if we have different styles in the same text layer. Different font sizes in each word, for example. It seems it only picks the style of one character.
since its javascript i assume you can create a loop to copying all character styles. dont know if AE has that implemented, if not that could be a solution
I need this to! Does anyone have clue ? @ukramedia ?
Lol.. I asked Chatgpt! It gave me a working expression! amazing.
targetLayer = thisComp.layer("Target Layer");
sourceLayer = thisComp.layer("Source Layer");
targetLayer.text.sourceText.setValue(sourceLayer.text.sourceText.value);
targetLayer.text.fontSize.setValue(sourceLayer.text.fontSize.value);
targetLayer.text.fontFamily.setValue(sourceLayer.text.fontFamily.value);
Note: You'll need to replace "Target Layer" and "Source Layer" with the actual names of your target and source text layers, respectively.
I need to have a certain word in bold in my text. How can i reference this? And also just use kerning with some letters.
Hi Sergei, my apologize for my english but i am french and i am not very good in english. Thank you for your tutors which are awesome. I try this but i have a issue
"txt1.getStyleAt is not a function"
I also have another question.
I made a text with a centered paragraph and I want to modify this text but have its anchor point always be the perfect center of the text how can I do this ?
i just found this
R=sourceRectAtTime();
[R.left+R.width/2,R.top+R.height/2]
I think that the issue "txt1.getStyleAt is not a function" it's because my after effect software is in french, is there a solution ? thank you
@@xris2394 I had this problem too but was able to fix it.
Check your expression engine is in Java Script.
Go to Project Setting/Expressions.
Hope this helps (programming languages are universal and not affected by location btw)
DO you know how to link only the font?
Don't want to connect the whole style, cause got layers that are outline only, different size, etc.
I'm getting an error. It says "txt1.getStyleAt is not a function". I replicated everything you did:
txt1 = thisComp.layer("Text 1").text.sourceText;
txt1.getStyleAt(0, t = time)
I have the same issue 😭
I got the same issue, but if you will type in "getStyleAt(0)" with only one 0, this works.
For example:
origin = thisComp.layer("Text").text.sourceText;
origin.getStyleAt(0).setText(origin);
I had this problem too but was able to fix it.
Check your expression engine is in Java Script.
Go to Project Setting/Expressions.
Hope this helps
@@michaelhumphries8576 gad i love you !
@@michaelhumphries8576 Thank you!!! I haven't been able to find a solution to this problem all day!
const referenceText = thisComp.layer("TEXT").text.sourceText;
const style = referenceText.getStyleAt(0,0);
style.setText(referenceText);