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

Tim's Fax suggestion



An interesting problem re implementing faxing out from Xy4 under W95:
Tim suggested doing an XPL pgm to save a Xy file in RTF format then invoking
Wordpad, from which one can fax thru the W95 fax capability.

Here's the problem: you have to use the menus to do the save in RTF format
and after doing that, the XPL pgm terminates. You can't even have it print
"Hello" on the command line after the save is done.

Here's the XPL program to do the save:
    SH fac:\faxtmp.rtfmm
where  is the carriage return character that appears as a musical
note, and "SH" is the pfunc.
Nothing past that  will get executed. Same if you substitute the XC
pfunc for the .
The workaround is to use two hotkeys: one to do the save as rtf and then a
second one you key in after the first one is finished to load wordpad.
The XPL for the second pgm is:
    BC dos/nv/x /c c:\windows\write c:\faxtmp.rtfXC
(presumably you could use BX-Q2 instead of BC-XC).

So the questions are: 1. Why can't the two pgms be combined into one--why
does the first one terminate? (it may have to do with the time required, but
putting in an  to pause it doesn't work). 2. How can one reduce the two
hotkeys to one?

Any ideas?

Regards,


Harry Binswanger
hb@xxxxxxxx