How to create list of objects onpage


hello, need list of object on page sorted order on page (i need know order of images , others graphics objects), have script order of objects in document not change order in list:

 

for (var y = 0, il = mydoc1.pages.length; y < il; y++) {

mypageitems = mydoc1.pages.item(y);

var pis = mypageitems.pageitems.everyitem().getelements();

...}

for example expect 2 objects onpage - circle , line, line in front of circle in list i'll got "line, circle", when change order , circle in front of line list of objects same ("line, circle").

 

than in advance how done.

the title of query suggests want create list of objects per page, then

 

> line in front of circle in list i'll got "line, circle", when change order ,

> circle in front of line list of objects same ("line, circle")

 

seems suggest want change order of objects on page. , 'order' presumably mean stacking order, correct?

 

peter



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Reader DC

Adobe InDesign CC 2017 has stopped working

After Effects cc 2015 can’t continue: unexpected failure during application startup after installing OS El Capitan