Re: mail script...help needed
Re: mail script...help needed
- Subject: Re: mail script...help needed
- From: John Cooper <email@hidden>
- Date: Mon, 27 Aug 2001 15:17:55 -0700
On 2001.08.27, Donn Hayes wrote:
I was wondering if I can find some help out there for converting it so
that it works in the Mail application from Apple in OSX. So far I have
had little luck. I am most concerned with the part of the script
following "Tell application Eudora"
tell application "Eudora"
activate
set newMsg to make new message at end of mailbox "Out"
set field "to" of newMsg to messageTo
set field "subject" of newMsg to messageSubject
set the body of newMsg to messageBody
end tell
end tell
Try:
tell application "Mail"
activate
GetURL ("
mailto:" & messageTo & "?subject=" & messageSubject &
"&body=" & messageBody)
end tell
--thanks to AppleScript in a Nutshell (O'Reilly, 2001)