WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Miscellaneous

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 1999:04:15:16:54:04
Last Updated: 1999:04:15:16:54:04