Automating "Fit to comp width"

What type of scripts do you need?

Moderator: byronnash

Post Reply
Chromalive
Posts: 1
Joined: July 26th, 2021, 2:47 am

Hello,

I would like to automate the "Fit to comp Width" option on a textlayer.

When I want to determine the height and width of my text to then run this command, I realize that the text size values correspond to the size of my composition, which is 1530/390.
Suddenly, the "Fit to comp Width" does not allow me to obtain the desired rendering.
I'm a little lost there.

Thank you in advance for your help.

Post Reply