Re: Eudora Attachments?
Re: Eudora Attachments?
- Subject: Re: Eudora Attachments?
- From: Bill Briggs <email@hidden>
- Date: Mon, 26 Feb 2001 16:43:07 -0400
At 11:44 AM -0800 2/26/01, Chuck Ross wrote:
According to the Eudora_and_AppleScript.txt file I downloaded from Eudora's
web site, I can attach a file to an email with code like this:
set theName to "Macintosh HD: myFile"
attach to message 0 documents {theName}
However, when I try to use this with a real file as in the following:
tell application "FileMaker Pro"
set EmailAttachment to ((cell "gEmail_Attachment_Folder_Location" of
current record of layout 0 of database "Surveys.fp5") & (cell
"gEmail_Attahcment_Name" of current record of layout 0 of database
"Surveys.fp5"))
end tell
tell application "Eudora"
attach to message 0 documents {EmailAttachment}
end tell
I get the following error message:
Script Error: Eudora got an error: Can't make some data into the expect
type.
Eudora wants a list of aliases. EmailAttachment doesn't look like a
file alias to me.
- web