-
New line based on width text expression
Hi,
I’m hoping someone will be able to help me.Is there an expression that could create a new line on a normal text layer based on a width I can set? I found the below expression by Dan Ebberts but it doesn’t quite do what I need it to. This one does it based on characters whereas I will need to be based on width. Also, the other problem with this is that as it is based on characters words can be split apart when the new line is generated.
https://forums.creativecow.net/thread/227/34484#34487Unfortunately I can’t use a paragraph text box.
I’m currently using compCode to convert my templates into code which I can run and insert into other projects. However, after speaking to the creator of compCode, it seems that the boxTextPos function in AE scripting doesn’t work properly (writing not reading)This means that any templates with paragraph text layers that I try to compcode does not get inserted properly, because I am unable to write the boxTextPos therefore the position of paragraph text layers is off.
If anyone is able to advise it would be greatly appreciated
Thanks!
Matt