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