• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Add periods when enter key is pressed

New Here ,
Sep 02, 2020 Sep 02, 2020

Copy link to clipboard

Copied

Hi 

Is there a way to automatically add periods at the end of a sentence or paragraph when ENTER key is pressed?

Views

116

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 02, 2020 Sep 02, 2020

Copy link to clipboard

Copied

For a single-sentence paragraph, you can use autonumbering to add any character at the end of the paragraph … but the character is then positioned at the right-hand margin, which probably isn't what you want :-}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 03, 2020 Sep 03, 2020

Copy link to clipboard

Copied

What you could do:

Create a new paragraph format, e.g. "period" with autonumbering ".", at the start of the paragraph.

In the Pagination tab of the original paragraph with the text set Run-In Head. In the Basic tab set "period" as Next Paragraph Tag.

When you now press ENTER twice, you get your period.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 03, 2020 Sep 03, 2020

Copy link to clipboard

Copied

LATEST

You could also create an EventScript with ExtendScript. That one could also check if you already have a "." at the end of the paragraph and only add a "real" period (not just a generated numbering), if that is not the case.

 

(I'm just wondering what the use case for this request it?)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines