Activity › Forums › Adobe After Effects Expressions › Adobe after effects scripting
-
Adobe after effects scripting
Posted by ayat fatima on October 26, 2020 at 4:07 amm a student and Im working on animations in adobe after effects using extendscript toolkit CS5. I need help in scripting. Im finding trouble while setting the start and end time for each layer. Because i’ve to prepare animated lectures. So, i need help to code word by word typing effect and moving layers. Kindly help me.
Thanks
Ayat Fatima
ayat fatima replied 5 years, 5 months ago 3 Members · 17 Replies -
17 Replies
-
Brendon Murphy
October 26, 2020 at 10:23 pmAre you sure you need scripting? Or can you set up a template file and duplicate it for each lecture?
-
ayat fatima
October 30, 2020 at 2:29 pmyes I can do this.. But I’m beginner in animations, so, I’m facing problem in preparing a template even. I need help, it is related to my final year project. I really need to perform something for my presentation in proposal defence.
kindly do help me.
Thank You!
-
Brendon Murphy
October 30, 2020 at 2:54 pmCan you provide a bit more detail about what you need to accomplish?
-
ayat fatima
October 31, 2020 at 1:22 amActually I’ve to prepare a complete animated course of a subject. As it is final year project of BSCS program that is why I’ve to use scripting for animation. Without code it wouldn’t be considered as fyp. I’m finding difficulty in scripting. I’ve downloaded ExtendScript Toolkit CS5 and adobe after effects 2020 as well as CS6. when I’m writing scripts for adobe after effects CS6 in toolkit it is giving errors.
-
ayat fatima
November 2, 2020 at 8:08 amSir Brendon Murphy
Please do help me in adobe after effects scripting….
-
Brendon Murphy
November 4, 2020 at 7:28 pmSince there’s no specific code question here, I can offer a few ideas. My biggest suggestion is to keep it simple… set up a few lines of code that can be repeated for each section of the presentation.
For instance:
Put all your presentation text in a document on your computer (something like a txt or csv). Headlines can be on one line, with bullet points on subsequent lines.
Write a script that reads this text into AE based on the index of the line. Script some basic formatting rules to make your headline bigger, bold, and a different color. Set the duration of your comp to something reasonable.
Have your script precompose the text elements for that section, and then repeat for all other sections of your presentation.
Finish by putting all precomps sequentially into a master comp. Keyframe opacity on the precomps to fade in and out.
-
ayat fatima
November 5, 2020 at 1:40 amthank You so much.
how can I write letter by letter text in after effects cs6
-
Stephen Dixon
November 5, 2020 at 6:40 amESTK is deprecated, Adobe recommends you use VSCode and the Extendscript Debugger add-on.
-
ayat fatima
November 6, 2020 at 3:21 amI’m finding the error of “undefined object” or “the null is not an object” in the following code:
app.newProject();
var myComp=app.project.item[1];
var firstLayer = app.project.item[1].layers[1-2]; -
Brendon Murphy
November 6, 2020 at 7:00 pmAssuming you have already created a comp (or something else) within your project, the first item is index 0. The second item is index 1. Layer indices start at 1. So assuming that the comp also contains a layer, you can do this this to get the name of the first layer:
var myComp = app.project.item[0];
var firstLayer = activeComp.layer(1);
var firstLayerName = firstLayer.name;
alert(firstLayerName);
Reply to this Discussion! Login or Sign Up