home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Fax / X!-SF217.LHA / STFax / Rexx / AnswerHookExample.stfax next >
Encoding:
Text File  |  1997-06-13  |  245 b   |  16 lines

  1. /*
  2.     This is an example of answer hook.
  3.  
  4.     It uses fax2ps to print every fax you receive to your
  5.     PostScript printer.
  6. */
  7.  
  8. Options Results
  9.  
  10. 'GETLASTRECEIVED'
  11. Fax = result
  12.  
  13. Address Command 'STFax:Contributions/fax2ps "'Fax'" >PAR:'
  14.  
  15. Exit 0
  16.