Remove Soft Return from paragraph

New Here ,
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

290

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
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.

 

 

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
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.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
LinSims LATEST
Adobe Community Professional ,
Jan 09, 2020

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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