Skip to main content
Participant
January 9, 2020
Question

Remove Soft Return from paragraph

  • January 9, 2020
  • 1 reply
  • 2086 views

Hi,

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

This topic has been closed for replies.

1 reply

LinSims
Community Expert
Community Expert
January 9, 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.

 

 

Bob_Niland
Community Expert
Community Expert
January 9, 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.

LinSims
Community Expert
Community Expert
January 9, 2020

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.