Is there a way to keep the value of max dependent on the number of characters automatically?
I tweaked the expression to
n = thisComp.layer(index+1).text.sourceText.length;
max =n; // characters at 100%
[(n/max)*value[0],value[1]]
Basically I assigned max the same length of my character string instead of an arbitrary value like 10 or 15, but then n and max cancel each other and I always get 100% for scale.
Another problem I’ve found using this approach is that the background layer, in this case a shape layer has a defined scale value when it’s at 100% (whatever I drew originally), so even when I use a set number like 10, it’s only relative to what the original 100% scale is, not to the character string length.
Any help out there?