Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2012 by Barry MacDonnell. All Rights Reserved.

Page updated Apr 12, 2011
FIXASCII - "Fix ASCII-type files" (i.e., plain text files) by converting hard returns at the end of lines inside selected paragraphs to soft returns (it leaves double hard returns between the paragraphs) — allows "word wrapping" sentences and paragraphs

Download FIXASCII.ZIP (5/11/01; 4,522 bytes)

Compatible with WordPerfect 6 and later versions

WordPerfect 11 users:
See important information about using macros in the first release of WP11 (11.0.0.233) at the top of this page.

Downloading, Documentation, Modifications, and Support

A macro to remove hard returns ([HRt]) at the end of lines in plain-text (ASCII) files that have been imported into WordPerfect, and replace them with soft returns ([SRt]). This allows "word wrapping" of sentences and paragraphs and makes reformatting such paragraphs or other copied material (such as e-mail messages or BBS/internet downloads) much easier.

Screen shot of some text BEFORE playing FixASCII

Screen shot AFTER selecting that text and then playing FixASCII

Instructions: Just select the sentences or paragraphs (or the entire file, with Edit, Select, All) that you want to strip of hard returns, and then play the macro to "fix up" the file.

Note: Converting multiple paragraphs requires that the paragraphs be separated by two or more hard returns. You may have to do edit the document to ensure this is true before using FIXASCII. [If the paragraphs are separated by a single hard return, you could use Find and Replace, and try searching for periods followed by hard return codes (.[HRt]), then replace them with a period plus two hard return codes (.[HRt][HRt]). Then select the paragraphs and play FIXASCII.]

See also FIXMSGS.