Reply To: Calculation of Paragraph length(s) in a document

#82987
Bart Eenkhoorn
Participant

Geweldig Peter,

This is exactly what I was looking for. With a slight modification I can also use your script to count the characters:

report.push (‘Par. ‘ + k + ‘:’ + par[k].characters.length);

Here is part of that (word / character count) result (obviously, with many words, there are many characters as well)

Par. 795: 0 1
Par. 796: 12 71
Par. 797: 254 1572
Par. 798: 110 628
Par. 799: 0 1
Par. 800: 10 58
Par. 801: 49 323

Now let’s say, paragraph 797 contains more characters/words than our publication guidelines allow, is there any way in indesign to jump / go to paragraph 797 ?

Thanks A lot for your generous help,

Hartelijke groeten,

Bart.

This article was last modified on March 17, 2016

Comments (0)

Loading comments...