Javascript Inverted page number
Any idea to write a javascript for InDesign that insert inverted page number on any page based on document
Any idea to write a javascript for InDesign that insert inverted page number on any page based on document
Try this code:
var c = 0;
while(c < app.activeDocument.pages.length){
try{
var sec = app.activeDocument.sections.add(app.activeDocument.pages[c]);
sec.continueNumbering = false;
sec.pageNumberStart = app.activeDocument.pages.length-c;
}
catch(e){
var sec = app.activeDocument.pages[c].appliedSection;
sec.continueNumbering = false;
sec.pageNumberStart = app.activeDocument.pages.length-c;
}
c++;
}
Best
Sunil
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.