Activity › Forums › Adobe After Effects › text file to AE text script
-
text file to AE text script
Posted by Accountclosedduetonorealnameused on March 9, 2007 at 8:22 pmI have a text file with hundreds of names.
I need to get these names into After Effects.
Each name must be a seperate TEXT layer in AE.is there a script for this anywhere?
-or- any ideas on how to do this NOT by hand?thx!
Mike Clasby replied 19 years, 6 months ago 4 Members · 3 Replies -
3 Replies
-
Dan Ebberts
March 9, 2007 at 8:42 pmIt’s pretty easy to do this with a script, but the script has to be customized for your comp names, text layer names and the format of your text file and any other requirements you have. This would be a good intro project if you wanted to learn scripting, or a small job if you wanted somebody to do it for you.
Dan
-
Kevin Camp
March 9, 2007 at 9:14 pmif you have illustrator you can do this, although it will be some work to create single line text boxes for each name. but after that it’s easy to make them threaded (so the text flows from one box to the next).
once you have the threaded text boxes, you can cut and paste the entire list of names into the top threaded text box and create outlines of the names. now each name will be grouped, so you can select all of the names, then release to layers (sequence) from the layer palette. each grouped object (name) will be put on a separate sub layer. pull all of the new sub layers out of the top layer from the layers palette. if needed, you can use the align features in illustrator to align all the names.
now you can import your ai file into ae as a comp, with hundreds of layers, each with a name on it.
Kevin Camp
Designer – KCPQ, KMYQ & KRCW -
Mike Clasby
March 9, 2007 at 10:47 pmHere is a script by crgreen, crg_Text_from_File.jsx , that puts a text file into layers (default is each new line in the text file is it’s own layer, check the box when the script runs to make all one layer):
https://www.crgreen.com/aescripts/
Put the jsx file into your AE Scripts folder, then in your Comp, go File>Run Script>crg_Text_from_File.jsx
Note this only work on a text file (.txt). This also creates a new layer(s) with your text. And in the initial Script Panel you might have to fool with the Spacing values to get the look you want.
Enjoy.
Reply to this Discussion! Login or Sign Up