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

Remove Soft Return from paragraph

New Here ,
Jan 09, 2020 Jan 09, 2020

Copy link to clipboard

Copied

Hi,

Please help me in developing Framemaker Scrips to remove (delete) Soft Returns (Shift+Enter) char's in a paragraph.

TOPICS
Scripting

Views

1.5K

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 ,
Jan 09, 2020 Jan 09, 2020

Copy link to clipboard

Copied

No need for a script. The Find/Change dialog can handle this.

 

  1. In the Find field, enter either \r or \x09.
  2. In the Change field, make sure your type is To Text, then enter whatever you want in the Change field to replace soft return. A space is just a space. If you want a real paragraph return, enter \p.
  3. Select either Document or Book, depending on whether it's one file or a lot of 'em that you have in a book.
  4. Click Change All.

 

 

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 ,
Jan 09, 2020 Jan 09, 2020

Copy link to clipboard

Copied

If changing to a normal space, and we want to see what's we're doing, it can be entered as \x20 in dialogs.

 

Now, change-all, for just the current paragraph (if that's what the OP wants), now that might need a script.

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 ,
Jan 09, 2020 Jan 09, 2020

Copy link to clipboard

Copied

LATEST

For that they can use Change & Find to step through each instance. Most paragraphs aren't long enough for that to take too much time.

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