Thanks for the link. My researche do not match any thing. I am waiting the confirmation of my registrationto ask the community.
I'll informe you about the result.
I've got it and it works fine, but the size of the precom is the same as the shape. But I want the Presomp'size same as the main compositon.
May be with a correction in the script...but I don't no where !
Message was edited by: voileux69
Check lines 229 - 234 in the script. They read like this:
//setup comp variables var curWidth = curItem.width; var curHeight = curItem.height; var curAspect = curItem.pixelAspect; var curDuration = curItem.duration; var curRate = curItem.frameRate;
You can modify them to whatever values you like:
//setup comp variables var curWidth = 1050; //PAL widescreen width var curHeight = 576; //PAL widescreen height var curAspect = 1.0; //square pixels var curDuration = curItem.duration; var curRate = curItem.frameRate;
One could also add some extra code that adds a dialog for this or evaluates the selection order, so the size of the first selected item is used, but editing the fiel should satisfy your immediate needs...
Thanks a lot for your help. I am not very good in scripts but here it was so evident.