Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Check continuous Page Number in Document

$
0
0

Hi ALL,

 

Is it possble to check the continuous page number in the active document.

 

Problem is due to using multiple "Number and Sections options" in the F12 pages panel.

 

No error: alert("Pass")

 

if any error in folio sequence: alert("Fail")

 

Could anyone please help for my request.

 

Currently override all master page items by using the following script

 

 

main();
 function main() {    var doc = app.activeDocument,        i, l, page, j;            for (i = 0; i<  doc.pages.length; ++) {        page = doc.pages[i];        if (page.appliedMaster !== null) {            for (j = 0; j< page.appliedMaster.pageItems.length; j++) {                try{                    page.appliedMaster.pageItems[j].override(page);                }catch(e) {}            }        }        page.pageItems.everyItem().detach();        }} 

 

Thanks in advance

Beginner_X


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>