-
Expression to keep two text layers centered in comp and maintain space between
I’m creating phone Number localizations for 150 spots.
I’m testing running the ‘compsFromSpreadsheet4″ script to replace the phone number for all these different locals.
So far great, I can get the script to replace the number but the problem is some digits throw off the horizontal size of the phone number.
The phone number is paired with a text layer that has a URL that will remain the same.
So the layout is:
website.com 1-800-123-4567
the two text layers are centered in the comp.
Is there an expression that can maintain the space between the two text layers and repo them so they are centered in the comp, so that when I run the script the positions of these layers will automatically update and I don’t have to go into 150 comps to center everything?
Thanks in advance!