-
Please. Script needed.
The situation…
I have file that i was using before to load text and position into AE with expressions. But situation is changed and now i need Script (i can’t do this yet 🙁 )data.txt (contains information about data for layers in 3 compositions)
__________________________________
comp1_text_a=”1″
comp1_text_b=”2″
comp1_position_a=[11,22];
comp1_opacity_a=[75];
comp1_sub_composition_text=”Title”comp2_text_a=”1″
comp2_text_b=”2″
comp2_position_a=[11,22];
comp2_opacity_a=[75];
comp2_sub_composition_text=”Title”comp3_text_a=”1″
comp3_text_b=”2″
comp3_position_a=[11,22];
comp3_opacity_a=[75];
comp3_sub_composition_text=”Title”
____________________________________in AE i have TEMPLATE composition.
Now i need script that will:
1 – load data file
2 – count number of needed compositions (3 in this situation)
3 – take Template composition
4 – duplicate Template composition with new name and change source text in text layers and position or opacity data on another layers with new data from file
5 – p.s. very important to duplicate compositions inside as new, ‘cose they contain data that’s also must be changed from data.txt
____________________________________Full sample of script or partly help will be very useful, ‘cose i’m trying to do this 2 weeks =(
p.s. Script needed for everyday use, some times data is up to 30 compositions.