How to Move Auto Page Numbering from left to different corner of the page using Indesign script?
I am trying to move Master Spread auto page numbering to right corner of the page using Indesign Extendscript. Unable to achieve it yet.
Is there a way we can select the text frame of content type "SpecialCharacters.AUTO_PAGE_NUMBER"?
Here is what i have tried so far -
for (var i = 0; i < app.activeDocument.masterSpreads.length; i++) {
var page = app.activeDocument.masterSpreads[i].pages[0];
for (var j = 0; j < page.textFrames.length; j++) {
var textFrame = page.textFrames[j];
alert(page.name + "*****" + textFrame.parentPage.name);
if (textFrame.parentPage.name === page.name) {
textFrame.paragraphs.everyItem().justification = Justification.RIGHT_ALIGN;
}
}
}
The above code is aligning all the textframes to right. I am interested in finding only the Auto page number text frame. Appreciate any insight and help on this! Thanks
<Title renamed by moderator>
