Page 1 of 1

Text replacement

Posted: January 7th, 2008, 2:48 pm
by rroycema
I'm fairly new to the idea of scripting for After effects. I saw some scripts for text replacement from an external file. However, what I need to do is change the text in multiple text layers that are already created within a project. I was wondering what the easiest way to go about doing this. Thank you for your help.

Posted: January 8th, 2008, 11:05 pm
by nab
Give this a try: findReplaceFromFiles

From the header:
Given two text files as input, this script will replace the text layers
whose text source is contained in the first file with the corresponding
text written in the second file.

Example:
oldData.txt
Monday
Tuesday
8.30 PM

newData.txt
Friday
Sunday
11.00 PM

Thanks

Posted: January 11th, 2008, 9:01 am
by rroycema
most excellent, thank you.