Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to Get FaxWorks to Wait for Fax to Finish

Keywords:      faxworks

Question:

I am trying VERY HARD to make WinBatch recognize when FaxWorks is done sending a fax.

I've tried the WinWaitClose command, but the FaxWorks "Call Status" Window seems to be unrecognizable by WinBatch. I'm having a similiar problem with Microsoft Outlook. I'd love for WinBatch to recognize when the "Delivering Messages" window closes, but WinBatch doesn't seem to "See" that window as well.

Does anyone have any ideas????

Answer:

Here's a way to send tell WinBatch to wait until FaxWorks is done sending faxs.
	While FileItemize(`c:\faxworks\queout\*.tif`)>0 
	TimeDelay(1) 
	EndWhile 
It looks into the faxworks directory for any *.tif files. If there are any of those files in that directory, it waits. When the fax is sent and FaxWorks moves the file to the "sent" directory, Winbatch will "see" the directory is empty of *.tif files and continue.

Works great!!!


Article ID:   W13446
Filename:   How to Get FaxWorks to Wait for Fax Finish.txt