Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Part 2: Calculation of Paragraph length(s) in a document

Return to Member Forum

  • Author
    Posts
    • #83031
      Bart Eenkhoorn
      Participant

      Continuing on from the previous post which had problems : https://creativepro.com/topic/calculation-of-paragraph-lengths-in-a-document

      I said:
      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.

    • #83035
      Peter Kahrel
      Participant

      Still doesn’t work. Maybe there’s something in that script I include that throws off the forum software. Why don’t you give me your email address and I’ll send it straight to you. We’ve been spending enough time on this by now.

      Peter

      • #83066
        Masood Ahmad
        Participant

        Peter, try putting your code in the < code > xxxxxxxxxx < /code > tag.

    • #83036
      Bart Eenkhoorn
      Participant

      You can email me at bjeenkhoorn apestaartje gmail.com. Bart

    • #83071
      Peter Kahrel
      Participant

      I did that, Ahmad. It didn’r work. But we sorted it out outside the forum.

      P.

    • #83832
      David Blatner
      Keymaster

      My apologies for the forum problem. I updated the previous forum thread.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.
Forum Ads