-
Moving a Text box dependent on the amount of characters in another text box.
Hello!
I’m attempting to position one text box in After Effects depending on the amount of characters in another text box.
I need to write: “Monday April 18th” in one text box, and sitting alongside it, the time, “9PM”
However, should the time change to be “9:30PM” I want to shift the date along accordingly.
I have attempted (with very limited knowledge) to get this right from various internet sources, but I really don’t know what I’m doing, so my code may be and probably is, completely wrong!
Do you guys know how I could do this?! Any help would be greatly appreciated.
temp=thisComp.layer("TIME").text.sourceText;
s = temp.length;x = 1* (s * -70);
[x, value[1]]