Add a Comp and the add a Camera in
Posted: May 21st, 2007, 4:03 am
Hello
I'm trying to create a script that add a new comp in a project an then add a camera in.
it's somethinf like this
Obviously instead of "XXX" it has to call the new comp, but her it's the the problem: I don't know how to do! According to the script Guide to call a specific comp I have to do something like this
However doesn't work!
Anyone here have the solution, please?
Thank you in advance
PS I'm on After Effects 7.0 Win Xp
I'm trying to create a script that add a new comp in a project an then add a camera in.
it's somethinf like this
Code: Select all
var newComp;
newComp = app.project.items.addComp("BlendComp", 720, 576, 1.070000, 4.800000, 25);
var newCamera;
newCamera = app.project.XXX.layers.addCamera("BlendCamera",[360.0,243.0]);
Code: Select all
app.project.item().name("BlendComp").layers.addCamera("BlendCamera",[360.0,243.0]);
Anyone here have the solution, please?
Thank you in advance
PS I'm on After Effects 7.0 Win Xp