Hi, My problem is when I scale and give the position just first one and last one right position and scale, I want to all of it scaled and right position I try something but didn't work.
var myPosition = [204,224];
var myScale = [25,25];
app.project.item(1).layer(3).property("ADBE Transform Group").property("ADBE Position").setValue(myPosition); // screen 1 position
app.project.item(1).layer(3).property("ADBE Transform Group").property("ADBE Scale").setValue(myScale); // scrren1 scale
That's the Screen1 why is the right position and scaled.
screenLocatedAndSize();
function screenLocatedAndSize(){
var myScale1 = [25,25];
var myPosition1 = [screenSize,224];
var template = new Array();
var position = new Array();
var scale = new Array();
for( var i=0; i <= count ; i++ ){
template[i] = app.project.item(1).layer(screenLocation).property("ADBE Transform Group");
position[x] = template[i].property("ADBE Position").setValue(myPosition1); // all screen position except Screen1 //////// Taking last screen right position
scale[x] = template[i].property("ADBE Scale").setValue(myScale1); //////// and right scale
}
}
But other Screen's not working except last one.