FORUMS: list search recent posts

Concatenating/Combining Text Layers

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Raj Sha
Concatenating/Combining Text Layers
on Mar 22, 2019 at 8:59:56 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


Return to posts index

Walter Soyka
Re: Concatenating/Combining Text Layers
on Mar 22, 2019 at 10:08:38 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 [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

Raj Sha
Re: Concatenating/Combining Text Layers
on Mar 22, 2019 at 10:40:23 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


Return to posts index


Cassius Marques
Re: Concatenating/Combining Text Layers
on Mar 22, 2019 at 11:46:37 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


Return to posts index

Raj Sha
Re: Concatenating/Combining Text Layers
on Mar 24, 2019 at 5:15:52 pm

Hello Cassius,

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

Thank You
R


Return to posts index

Max Haller
Re: Concatenating/Combining Text Layers
on Mar 22, 2019 at 3:07:22 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.



Return to posts index


Raj Sha
Re: Concatenating/Combining Text Layers
on Mar 24, 2019 at 5:18:41 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]