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

Remove Soft Return from paragraph

New Here ,
Jan 09, 2020 Jan 09, 2020

Hi,

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

TOPICS
Scripting
1.9K
Translate
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

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.

 

 

Translate
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

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.

Translate
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
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.

Translate
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