home *** CD-ROM | disk | FTP | other *** search
- /*
- Receive a fax. This script can be used by programs like TrapDoor
- which can spawn external programs when an incoming fax call is
- detected.
-
- To use this script, you should start STFax and set it to open the
- serial device (the same used by the other program) in shared mode.
-
- You shuld also turn off the Auto Answer of STFax.
- */
-
- Options Results
-
- Parse Arg Device Unit Baud
-
- Address "STFAX.1"
-
- 'DEVICE "'Device'"' Unit 'BAUD' Baud
-
- /*
- FaxClasses:
-
- 0 Class 1
- 1 Class 2
- 2 Class 2.0
- */
-
- 'RECEIVE FAXCLASS 1 NOANSWER'
-
- Exit 0
-