[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] E-Mail to FAX



Bill,

>I've been asked to write a cgi script (Obviously in MacPERL) to
>accept a 'form' and fax it to someone.  I'm thinking of using e-mail
>to accept the form and then writing it to a fax modem.
>
>Can I tell MacPerl to print it's screen???(i.e. stdout).
>
>Another possibility would be to use applescript and simple text and "fax to"
>inplace of "print to".  All the faxes would be to the same number; so I
>don't have to modify the "fax to"; but it might be useful.
>
>Has anyone seen or done an application like this.
>
>Bill Scheding
>wls@moviola.com

The Apple Directory, Apple Phone and Apple Fax applications in Apple Telecom are scriptable. 

You can attach enclosures (created by any application supporting the print AppleEvent) to your fax and it will be "fax-printed" :

 tell application "Apple Fax"
	
 	set myFax to make new fax with properties Â
 		 {name:"Fax to Maria", Â
     subject:"Happy Birthday", 
     note:"Still 39 for one more year?"} Â
    with data {"Macintosh HD:Telecom Applications:Fax Folder:Â
     My first fax"}
	
 	make new recipient at end of myFax with properties Â
 		{first name:"Maria", Â
    last name:"Enriquez", Â
    fax number:"5240987"}
	
 	send myFax at date "24 november 1997 13:05:14"
	
 end tell

An OCR engine is also included and you can save your incoming faxes as text.

The only missing piece is the MacPerl glue... :-)


Georges Martin


BTW, the Apple Phone supports Text-to-Speech, imagine calling your computer by phone and getting your latest email spoken to you ;-)


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch