Can I apply forced line breaks to existing "Titles & Text" text boxes?

TAGyerit wrote on 7/19/2023, 11:04 AM

I'm re-editing many many Titles & Text overlays to take up a smaller width on the screen. I've created a "VEGAS Tiles & Text Preset that sets a smaller font size and positions where the text box is on the screen. However, my existing text often continues off the screen after setting the preset, and I have to manually enter line breaks to get all the text to display on the screen.

I have hundreds of these Titles & Text boxes to make edits to, so it'd be a huge time-saver if inserting forced line breaks were possible. FYI I have Vegasaur (which I use to apply the new Preset to multiple instances at once) and Happy Otter.

If there's no existing way to do the above either in Vegas Pro or with Vegasaur or Happy Otter scripts, would it be do-able with a custom script? I *think* the script would just have to do two things:

1) Remove any existing line breaks in highlighted Titles & Text events and replace it with a space. 2) Count out 36 characters and then insert a line break after the next space occurs. Continue doing that until there are no more characters. Example:

This is a Titles & Text line that would spill off the right side of the screen because it's too long. After running script it would look like:

This is a Titles & Text line that would
spill off the right side of the screen
because it's too long. After running
script it would look like:

^The above inserts a line break after the first "space" after counting out 36 characters on each line. If I could do this it'd be a huge help. Any suggestions/help are greatly appreciated, thank you!

Comments

DMT3 wrote on 7/19/2023, 11:18 AM

This is not a free solution, but Vegasaur (an extension for Vegas) has an option to reformat Titles and Text. You can set the max line length and it will wrap. Might be worth the investment if you have a lot of titles.

TAGyerit wrote on 7/19/2023, 12:14 PM

This is not a free solution, but Vegasaur (an extension for Vegas) has an option to reformat Titles and Text. You can set the max line length and it will wrap. Might be worth the investment if you have a lot of titles.

Thanks for that info, I own Vegasaur but I don't see any options about setting max line length to create word wrap, could you please point me to that function in Vegasaur? They have a screenshot here https://vegasaur.com/titles-and-text but id doesn't include max line length that I can see... (Thank you!)

DMT3 wrote on 7/19/2023, 12:20 PM

TAGyerit wrote on 7/19/2023, 4:13 PM

Wow, that's perfect for what I need DMT3, thank you!! Vegasaur doesn't seem to have much in the way off video tutorials so I'm definitely under-using it because there's so much it does that I don't understand.