Selecting Next Page Items
I'm having some trouble selecting the text frame on the next page for some reason. I looked at some previous discussions and there didn't seem to be a solution mentioned. Is there a better way to do this? Thanks!
doc = app.activeDocument;
for (i=0; i<doc.pages.length; i++) {
currentPage = doc.pages.item(i);
nextPage = doc.pages.item(currentPage.documentOffset+1);
if (nextPage.textFrames.item(0).paragraphs > 2) {
currentPage.textFrames.item(0).textFramePreferences.verticalJustification = 1785951334;
}
}