Get the paragraph in page by page from framemaker using script ?
hi,
I have used below code for count the paragraph from framemaker.
function CountPgfs(doc) {
var pgf, paragraphCount = 0;
pgf = doc.FirstPgfInDoc;
while (pgf.ObjectValid() === 1) {
paragraphCount += 1;
pgf = pgf.NextPgfInDoc;
}
return paragraphCount;
}
This code display paragraph count for whole framemaker document including masterpage ,referencepage and bodypage.But i need to display the paragraph count in page by page like only bodypage paragraph using framemaker script.Please suggests if any ideas.
