Text auto scale
This script automatically scales text on dynamically or statically parametrized text layers. It scales the text to fit the dimensions of the original text layer.
Text scaling is performed around the Anchor Point of the text layer. Knowing that, you should position the anchor point of the text layer in the place where you want the text to be scaled from. For example, if you want the text to be scaled from the center, position the anchor point in the center of the text layer. If you want the text to be left aligned, position the anchor point in the top-left corner of the text layer so the text layer will keep the original position and only the size will change.


To use this script, either check the box next to Auto scale text when applying parametrization to the text layer or add the script manually to the layer by navigating to the Scripting tab and selecting the Auto scale text script.
- Text auto-scaling can be performed on both point (single line) and paragraph (multi-line) text layers.
- To learn more about how text auto-scaling works and how it’s implemented in your project, check the Text scaling section.