programming premiere pro with extend script
Hi I have just started using extend script for premiere pro.
I need to know the size of an object that makes up a clip it uses
some photographs.
The script I should complete is the following:
var oggetto =app.project.rootItem;
//alert(oggetto.children[0].name );
for(i =0;i<oggetto.children.numItems;i++){
// $.writeln(i);
$.writeln(i+" "+oggetto.children[i].name ); //26 2014_10_14_21_33_29_DSC_0227.JPG
$.writeln(oggetto.children[i].children);
}
I have to get the X and Y dimensions of the photograph:
26 2014_10_14_21_33_29_DSC_0227.JPG.
Thanks for any advice.