[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Wildcard replace and no 64k limit



On Wed, 17 Apr 1996 09:48:08 -0400 (EDT), you wrote:

>I use the wildcard  (the  W, that is) to remove HTML
>coding from Internet pages, leaving them in clean ASCII for printing and
>storage. Three Ws are usually enough to clear out even long lines of
>coding. Search-and-replace also works in replacing "&whatever;" coding
>with "and." And of course there's mundane word replacement as well.

If anyone is interested, I wrote an XPL macro for writing HTML. Two
macros are involved, and they sit on two ALT keys. One changes HTML tags
to a colour (green), the other removes all the XyWrite colour modes. I
could easily change them to one macro that just toggles colour on/off.
They preserve the position of the cursor. It makes HTML coding in
XyWrite a lot nicer IMO.

If you want these macros (they're trivial, but they work and saves you
writing them), mail me and I'll send them. They are for Xy3.55.

I have written a lot of macros for Xy3.55. If there is interest in them
I will put them on my Web page for easy downloading. They include:

* HTML tag colour toggle (as above)

* String occurence counter

* Character transposition

* Extrapolate occurences of command line string in open document to a
separate file

* Reverse date order directory lister -- point cursor at directory name,
hit ALT key, and get reverse data order listing of that dir. Trivial,
but I find it useful

* Directory appender -- point cursor at directory name, press ALT key,
and it appends directory name to command line for rapid navigation of
directory trees. Again, trivial but useful

* House style checker -- now this is _really_ specialised. One ALT key
highlights all errors in house writing style in current document.
Another ALT key removes individual highlights. This was for Datapro, an
IT research company, and checks for >500 errors. I'm sure this has no
application outside Datapro, but who knows?

* Atex converter. Again, _very_ specialised, for Datapro. It takes an
Atex-coded file and converts Atex typesetting codes to XyWrite
equivalents for viewing/printing

* Atex table converter. Specialised, ditto. Takes an Atex-coded table
and converts to XyWrite table for viewing/printing

* Atex code space toggle -- toggle for inserting/deleting a space after
all Atex style codes. This is for easy spell checking of Atex documents
(eg. ";sAHeading^" changes to ";sA Heading" and back. Again,
specialised.

Writing all this prompts me to offer my services as a XyWrite XPL macro
writer to those who may not be familiar with XPL. Perhaps everyone here
knows XPL inside out, perhaps not, I don't know. If you don't have the
time or knowledge to automate part of your work process and think it
could be done with a macro or two, I'd be happy to evaluate the
possibility of writing something for you. No fees. I can guarantee
results only for Xy3.55, although I believe XPL compatibility is a
feature of subsequent XyWrite releases.

--
          _
James Eibisch  ('v')   N : E : T : A : D : E : L : I : C : A
Reading, U.K.  (,_,)    http://www.i-way.co.uk/~jeibisch/
        =======