I am trying to build a script that takes a single section with 4 pages and makes each page into a section (Section Start) using ExtendScript.
I am able to accomplish this with AppleScript however I can't seem to nail it down in ExtendScript.
Hoping someone can point me into the right direction.
Is this you need?
var pages = app.activeDocument.pages.everyItem().getElements();
for(var i =0;i<pages.length;i++)
Thank you Chinnadk! That is exactly what I was looking for. Well done!