Hi All,
For my requirement i want to get a list of all page items with "id" value in script label.
Script Label concept in entirely new for me.
Below script get the ID value of every page items in the active document.
But i dont know how to save all the values [alert(("ID:" + myPgItems) in the script label.
Trying script:
var myDoc = app.activeDocument
var myPageItems = myDoc.allPageItems
alert(myPageItems.length)
for(i=0; i<myPageItems.length; i++)
{
var myPgItems = myPageItems[i].id
alert("ID: " + myPgItems)
}
Please find the attachment for more information
Kindly give solution as soon.
Thanks in advance
BEGINNER