This script is very useful if you have a fixed size or area of the drawing and want the text to be automatically resized to fit any desired width or height limitation of the comp in After Effects.

How to create auto scale text using expressions in After Effects?

By manipulating the expressions, you can really customize and place your text anywhere and you can apply the same script, even to dynamically resize videos and graphics. Tutorial released by Creative Dojo.

Article + DOWNLOAD file Project:
https://www.3dart.it/en/text-auto-resize-scale-after-effects-tutorial/