Это видео недоступно.
Сожалеем об этом.

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

Комментарии • 53

  • @Nosenada007
    @Nosenada007 2 месяца назад +3

    The only tutorial showing real text needs fast and easy explained. Thanks

  • @heyfonnin
    @heyfonnin 2 года назад +2

    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!

  • @ElEustis
    @ElEustis 3 года назад +1

    You are so on top of explaining the latest and greatest AE features! Thank you!!

  • @dmytro_korolkov
    @dmytro_korolkov 3 года назад +14

    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".

    • @SteveVerne
      @SteveVerne 2 года назад +1

      HUGE! thank you as this was a nightmare to find/solve.

  • @sergedruz7261
    @sergedruz7261 3 года назад +1

    Sergei, thanks for this awesome series of tutors.

  • @rajmeetsingharora
    @rajmeetsingharora 3 года назад

    Was looking for exactly this! Thanks a ton Ukramedia 🙏❤

    • @ukramedia
      @ukramedia  3 года назад

      I'm glad you found this useful, Rajmeet!

  • @JiggypuffFridays
    @JiggypuffFridays Год назад +2

    THANK YOU! this is so specific but its EXACTLY what i needed!

    • @ukramedia
      @ukramedia  Год назад

      You're welcome! I'm glad the tutorial was exactly what you needed. Thanks for watching and happy creating!

  • @aljosacebokli4605
    @aljosacebokli4605 2 года назад

    just what I needed, thanks

  • @MichaelaBelle
    @MichaelaBelle Год назад

    so helpful!!!! thanks a million

  • @motion4pro
    @motion4pro 3 года назад +1

    Сергій, дякую Вам за дуже корисне відео!)

    • @ukramedia
      @ukramedia  3 года назад

      Thank you for your kind words, Alex!

  • @break264
    @break264 2 года назад +2

    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?

  • @uncletrick1
    @uncletrick1 3 года назад +1

    Super helpful!

    • @ukramedia
      @ukramedia  3 года назад

      I'm always happy to help, Uncle Trick!

  • @anatoliykulakov1895
    @anatoliykulakov1895 2 года назад

    Чудовий урок! Дякую!!!

  • @sarafarnsworth
    @sarafarnsworth 8 месяцев назад +1

    You're a genius! Saved me with this vid.

    • @ukramedia
      @ukramedia  7 месяцев назад

      Thank you for your kind words! I'm glad I was able to help.

  • @AlexandreSoma
    @AlexandreSoma 3 года назад

    REALLY COOL!

  • @vfx2897
    @vfx2897 2 года назад

    thanks alot

  • @ollomy102
    @ollomy102 2 года назад

    Спасибо,реально помог)

  • @Resiliencebalado
    @Resiliencebalado Год назад +1

    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!

  • @yaneev.t
    @yaneev.t Год назад +1

    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!

  • @makeperceive
    @makeperceive 3 года назад

    the master

  • @samuelbermudez833
    @samuelbermudez833 10 дней назад

    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!

  • @thomasprinzivalli3873
    @thomasprinzivalli3873 Год назад

    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

    • @ericliss9600
      @ericliss9600 Год назад +1

      Nope. Does not exist unfortunately.

  • @gageullman2886
    @gageullman2886 Год назад

    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.

  • @davefleury2583
    @davefleury2583 10 месяцев назад

    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.

  • @sergiesgleas
    @sergiesgleas 3 года назад +6

    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.

    • @Bonzvy
      @Bonzvy 3 года назад

      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

    • @tubelator
      @tubelator Год назад

      I need this to! Does anyone have clue ? @ukramedia ?

    • @tubelator
      @tubelator Год назад +1

      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.

  • @frankytap
    @frankytap 2 месяца назад

    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.

  • @xris2394
    @xris2394 3 года назад

    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 ?

    • @xris2394
      @xris2394 3 года назад

      i just found this
      R=sourceRectAtTime();
      [R.left+R.width/2,R.top+R.height/2]

    • @xris2394
      @xris2394 3 года назад

      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

    • @sirClogg
      @sirClogg Год назад +2

      @@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)

  • @georgiunguzov3609
    @georgiunguzov3609 6 месяцев назад

    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.

  • @polystormstudio
    @polystormstudio 3 года назад +4

    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)

    • @xris2394
      @xris2394 3 года назад

      I have the same issue 😭

    • @ruslanvynokurov2763
      @ruslanvynokurov2763 3 года назад

      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);

    • @michaelhumphries8576
      @michaelhumphries8576 3 года назад +7

      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

    • @corentindebroin1101
      @corentindebroin1101 2 года назад

      @@michaelhumphries8576 gad i love you !

    • @alialimboyev3649
      @alialimboyev3649 Год назад

      @@michaelhumphries8576 Thank you!!! I haven't been able to find a solution to this problem all day!

  • @beliebigerusername
    @beliebigerusername 6 месяцев назад

    const referenceText = thisComp.layer("TEXT").text.sourceText;
    const style = referenceText.getStyleAt(0,0);
    style.setText(referenceText);