Skip to main content
Known Participant
August 8, 2024
Question

Can you use a string to position layers in time based on the words in the string?

  • August 8, 2024
  • 1 reply
  • 237 views

Do you know how to create a function that would iterate through a string, finding the words to make an array. Then have it grab the first word, count how many characters is has, and go into the project and select that many layers and push them to a new start time (a marker if you know how)? ...and then do the same thing for the next word in the original string?

 

This topic has been closed for replies.

1 reply

Mylenium
Legend
August 8, 2024

There's all sorts of text and layer retiming scripts on AEScripts.com, so do a search there. Likewise, there's a quadrizillion "adaptive text timing" expressions out there whose code could be used as a reference for creating whatever script or own expression you need.

 

Mylenium

Known Participant
August 8, 2024

The problem is moving multiple layers at a time. Do you know what funtion actually moves a layer to a new position?