[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Clip and OOM and WInword
- Subject: Re: Clip and OOM and WInword
- From: "Patricia M. Godfrey" PriscaMG@xxxxxxxx
- Date: Fri, 27 Jan 2006 16:05:44 -0500
I hesitate to even proffer this workaround, because Jon has got to find
out what is skew-whiff in his system. But I know that one sometimes has
deadlines and must give files to other people, whether one's software is
working or not. If that's Jon's situation, this (which is a gosh-awful
kludge) should let him create RTF files from Xy ones while debugging
Carl and Robert's vastly superior routine. For this reason, I didn't
even enclose it in a frame (I do know how to do that now).
First save the following text (from @echo off to :exit) to xytortf.cod
in the folder with editor.exe. Then define and decode the XPLeNCODEed
block and save it as xytortf.pm in the same place. Note that the 2d line
of xytortf.cod is NOT necessary, and can be deleted, if your conversion
filters are in a directory referenced in the path. In the three
references to d:\xyw4dos\filters\xytortf.bat in the program, however,
you must specify the fully qualified path name, so that the bat file
will be saved in the proper directory. Edit those lines to match your setup.
What you should then do is create a desktop shortcut to xytortf.bat.
After running Xytortf.pm, minimize xyWrite (alt-Tab in full screen;
unless it's different in XP? or click on the little two-pane icon in the
upper right corner of a windowed screen), then double click on the icon
to Xytortf.bat. That will cause the bat file to execute in its own VDM
and create an RTF file with the same name, and in the same directory, as
your XyWrite file. Should you need to do further conversions in the same
session, just call the next XyWrite file you want to convert and run
xytortf.pm again. It will overwrite the bat file with a new one,
specifying new data files. Note that you have to run the bat file each
time it is re-created by xytortf.pm, because each execution rewrites the
bat file.
@echo off
cd d:\xyw4dos\filters\
echo Export XyWrite %1 to RTF
W4W17F.EXE %1 /N /V2
echo WAIT a few seconds for conversion to delete temp files
pause
if exist %2/ del %2
W4W19T.EXE %2 /N /V0
echo Done
goto exit
:exit
XPLeNCODE v2.0
b-gin [UNTITLED]
;*; IF the W4W filters ARE in a folder referenced[cr|lf];*; b
y the path, delete the line beginning CD d:\ in[cr|lf];*; XYt
oRTF.cod. Whether or not they are in the path, edit[cr|lf];*;
the two references to them in the following to match your se
tup[cr|lf]{<}SX50,{<}VA$FP{>}{>}{<}SV02,.{>}{<}XS50,02,03,04,
05{>}{<}SX03,{<}VA@50.1{>}{>}{<}SV06,.RTF{>}{<}SV07,{<}PV03{>
}{<}PV06{>}{>}[BX_]default EP=0 [Q2_][BX_]exist d:\xyw4dos\fi
lters\xytortf.bat[Q2_]{<}IF@NOT({<}ER{>}){>}[BX_]ERNV d:\xyw4
dos\filters\xytortf.bat[Q2_][BX_]wait[Q2_]{<}EI{>}[BC_]ne d:\
xyw4dos\filters\xytortf.bat[XC_][BC_]merge d:xytortf.cod[XC_]
[GT_][TF_][BC_]ci /%1/{<}PV50{>}/[XC_][TF_][BC_]ci /%2/{<}PV0
7{>}/[XC_][BX_]store [Q2_][BX_]default EP=1,1,1,1,1,1,1[Q2_][
cr|lf]
-nd
XPLeNCODE
Patricia M. Godfrey