You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
List of SAPI Commands 2-9Sendax in DDE:DDEPoke channel, "SendFax", "SendFax()"Sendax in OLE Automation:FAXOBJ.SendFax()Status [OPTIONAL]DESCRIPTION:returns the status of the last function sent to the OLE/DDE server.Use this function after using an API function to deter<strong>min</strong>e whether to proceedwith your macroReturn Values:WAIT the OLE/DDE server has not finished the last functionOKthe OLE/DDE server has finished the last function and you can continueStatus in DDE:*** check to see of the Send command has been processedDDEPoke channel, "SendFax", "SendFax()"wait:Result$ = DDERequest$ channel, "SendFax", "Status"if Result$ = “WAIT” thengoto waitendifStatus in OLE Automation:FAXOBJ.SendFax()wait:Result$ = FAXOBJ.Statusif Result$ = “WAIT” thengoto waitendifQuit() [OPTIONAL]DESCRIPTION:ter<strong>min</strong>ates OLE.EXEor OLE/DDE Server onlyQuit() in OLE Automation:FAXOBJ.Quit()Quit() in DDE:DDEPoke channel, "SendFax", "Quit()"