Skip to main content
Known Participant
June 12, 2010
Question

Checking Punctuation

  • June 12, 2010
  • 2 replies
  • 2159 views

Hi friends

               Can we check punctuation marks in every end of the line in Indesign document.

This topic has been closed for replies.

2 replies

August 4, 2017

Why not? Here I brought a useful punctuation checker. I hope this one will helpful for you.

Peter Kahrel
Community Expert
Community Expert
June 12, 2010

Check in what way?

- "Line" as in end of line or end of paragraph?

- Check whether there is a punctuation mark or whether there isn't?

- Check for which kind of punctuation?

- Just one punctuation mark or more?

- In which version of InDesign?

- Which platform?

- Which script language?

There's a start!

Peter

Oviya___Author
Known Participant
June 12, 2010

          1. Start & End of the Line in every paragraph. Not end of the paragraph.

          2. All the punctuation marks we have to check, and it dont want to appear more than 2 times in end of the line in a paragraph.

          3. If its appered more than 2 times in the paragraph ie start or end of the line we have to identify tat paragraph.

          4. I need to find this Punctuation marks in Indesign file using InDesign Scripting [Indesign CS4]

Harbs.
Legend
June 13, 2010

myPara.lines.everyItem().contents

This will give you an array of the contents of each line. You can loop through that and figure out what you'd like...

Harbs