Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Concatenating/Combining Text Layers

  • Concatenating/Combining Text Layers

    Posted by Raj Sha on March 22, 2019 at 8:59 am

    Hello Members,

    I am looking for a way to concatenate 3 text layers with different fonts and style, so that the end result looks concatenated without any space in between. Let me show you with pictures what I mean.

    Pic 1. In the below pic I have used 3 different layers, 1. (Noun) 2. Worcestershire 3.(English). This is the desired output. But when I try to change the word, everything goes out of proportion and spaces occurs in between. So I have to manually adjust other 2 layers.

    Pic 2. When I replaced the word Worcestershire with Choir, notice that the spaces occurs in between.

    Is there any way I can concatenate these 3 layers so I don’t have to adjust them manually every time I change the word?

    Thank You in advance!
    R

    Raj Sha replied 7 years, 3 months ago 4 Members · 6 Replies
  • 6 Replies
  • Walter Soyka

    March 22, 2019 at 10:08 am

    Are you familiar with expressions? Perhaps you could adapt the expressions in this thread for x/width instead of y/height:

    https://forums.creativecow.net/thread/2/1135735

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Raj Sha

    March 22, 2019 at 10:40 am

    Thank You Walter for quick response. I am able to apply the expression in layers and it is working fine for y/height. I can move the slider and layers are moving fine.

    Though I don’t know how to do it for x/Width. Can you help here?

    Also, can this be done automatically every time I change the word or do i need to change it through slider all the time?

    Thanks!
    R

  • Cassius Marques

    March 22, 2019 at 11:46 am

    I’m assuming copying pasting the texts to a single text layer somehow doesn’t work for you? (just making sure you have considered it)

    Cassius Marques
    http://www.zapfilmes.com

  • Max Haller

    March 22, 2019 at 3:07 pm

    Hey I think i got a set up that should work for you. You’ll have to set up the layers exactly like this for it to work though.

    So in my example i have three text layers: Left , Center, Right. The anchor point for the Left layer should be bottom right corner, It should be bottom center for the Center layer, and bottom left corner for the Right layer. The Left and Right can be set to left align text (paragraph option tab) and Center needs to be set to Center Text.

    In the position property of the Left layer use this:

    s = thisComp.layer(“center”);
    xw = s.sourceRectAtTime(time-s.inPoint,true).width/2;
    x = thisComp.layer(“center”).transform.position[0];
    y = thisComp.layer(“center”).transform.position[1];

    [x-xw-20,y]

    and in the right layer use this:

    s = thisComp.layer(“center”);
    xw = s.sourceRectAtTime(time-s.inPoint,true).width/2;
    x = thisComp.layer(“center”).transform.position[0];
    y = thisComp.layer(“center”).transform.position[1];

    [x+xw+20,y]

    This will lock the side layers to the center layer’s Y position while snapping them to either end of it’s width. The “+20” part of the expression is the padding that you can adjust.

  • Raj Sha

    March 24, 2019 at 5:15 pm

    Hello Cassius,

    Yes, I have considered that option and unfortunately it didn’t work for me!!

    Thank You
    R

  • Raj Sha

    March 24, 2019 at 5:18 pm

    Hi Max

    BIG BIG Thank You!!! That is exactly what I needed.!!!

    Thank You everyone for taking time out and helping me and a BIG Thank You to Max once more!!

    Cheers Guys!!
    R

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy