I've got a couple scripting questions in after effects that I can't seem to
find answers too..
first, Can you change the font of a text layer.. I've tried through
the settings "Text type" in the preferences but can't seem to get that working either
second, can you query an item specifically a comp by a "compName"
instead of an index... it seems like you can do it in layers
and properties, but not items??
ie: app.projects.item("myComp") What I'm trying to do is get a
comp that is actually a layer in another comp and get inside that..
thanks,
jdietz
anybody here anymore?? more questions??
Moderator: Paul Tuersley
-
- Posts: 36
- Joined: December 4th, 2004, 10:10 am
I don't know if
But....
That works.
would work.app.projects.item("myComp")
But....
Code: Select all
while((i <= app.project.numItems) && (trouve == 0)) {
if(app.project.item(i).name == "Staff") {
var Composition = app.project.item(i);
trouve = 1;
} else {
i++;
}
}
right on!