I was trying to use Evan’s example, which unfortunately is limited to monospaced fonts only. It will do for now if I can figure out how to connect two boxes which effect each other.
In his example we have a text with rectangle shape, which position path is connected with the path scale
temp = content(“Rectangle 1”).content(“Rectangle Path 1”).size[0];
[temp/2, 0]
And the scale is connected to the text
The expressions used in this tutorial are:
temp = thisComp.layer(“TEXT”).text.sourceText;
L = temp.length;
x =100 * (L * .9);
[250+x, value[1]]
If I can at least combine two of these shapes(with text) I’ll be on the right track.