You don't want to be using menus for xpl. Command-line is where the power is in Xywrite, and if you record a program using the menus you'll bypass that and get the kind of unpredictable results this program yields. As Dick Giering points out, the manual will give you a good introduction to xpl ("Xywrite Programming Language") and this, combined with knowing just a few basics, will tide you through simple tasks like these. The program I've attached is as simple as they get: ch /[cr]/[ep[cr]/ I left out the save -- you don't wanna to stick a save into an xpl proggie. Rafe T. raphaelt@xxxxxxxx http://www.ray-field.com On Wed, 20 Jan 1999 19:55:16 -0800, tgieske wrote: > > > > >Well, I tried to write a program file, which I have attached, but it didn't >work. It replaced one carriage return and gave me a search program placard. >I need to have a command that says replace all, and there has to be a place >to put what it's to be replaced with. No help from help as to how that sub >command within the control R command would be expressed or found. > > >At 10:25 AM 1/20/1999 -0600, you wrote: >>Reply to msg from tgieske@xxxxxxxx >> Macros are still possible - I use them all the >>time. Your problem with carriage returns not >>recording can be overcom by recording the >>keystrokes into a program and then edititng it. >>For the Carriage return, use, while in program >>mode (the scroll lock on), ctrl return. >>Look on the bottom of page 4-77 of the manual. >>Dick Giering >> >>tgieske wrote: >>> >>> Gentlelisters: >>> >>> Back when I had Xywrite 3 and a 4086, I used to be able to make macros to >>> do things to my copy, such as take all the carriage returns out and replace >>> them with [ep carriage return, which teh host computer at my paper would >>> recognize as a paragraph indent. >>> >>> You would outline the carriage return, hit the replace function gizmo, and >>> the carriage return arrow would appear in the window signifying the thing >>> to be replaced. >>> >>> You're told to record keystrokes. But certain keystrokes won't record, >>> particularly the ones that you wish to replace. There's a bunch of things >>> I'd like to use macros for, cleaning up HTML files for instance, but I >>> can't make them work anymore. >>> >>> Can anyone help a newcomer to this most absorbing list? >>> >>> Tony Gieske >>> >>> Tony G. >> >>Attachment: GRAF1.PGM
Description: Binary data