[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Cut and paste - Xy2Win another way
- Subject: Re: Cut and paste - Xy2Win another way
- From: TBaehr@xxxxxxxx
- Date: Mon, 29 Apr 2002 22:36:31 EDT
In a message dated 4/29/2002 2:24:36 PM Eastern Daylight Time, jdavidsen@xxxxxxxx writes:
Does Tim's [fax.pgm] program create a blank .doc and then dump
> whatever's highlighted in Xy into it?
Nope. The program uses the word-for-word filter to save the current file (or the highlighted portion of the current file) to a new file in the RTF format. The it shells out to DOS and issues a call for Windows to open Wordpad (or Word) with that RTF file. In that way, whatever formatting that W4W was able to preserve (it ain't perfect) is now in the Wordpad (or Word) file.
The reason the file is locked in XyWrite is that Wordpad or Windows is started in such a way that it prevents multitasking, which could delete the rtf temp file before it can be called into Wordpad (or Word). The RTF file is deleted by the XPL routine after Wordpad has opened.
My biggest mystery right now is that the XPL programs don't seem to run under Windows XP - Uncle Bill's minions seem to have buried the DOS core even deeper this time.
Tim Baehr