• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mail script...help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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)


  • Follow-Ups:
    • Re: mail script...help needed
      • From: garbanzito <email@hidden>
References: 
 >mail script...help needed (From: Donn Hayes <email@hidden>)

  • Prev by Date: Re: processing time & stack overflow
  • Next by Date: Re: Mount Volume, QuarkXPress MacOS 9.2.1 MAJOR weirdness
  • Previous by thread: mail script...help needed
  • Next by thread: Re: mail script...help needed
  • Index(es):
    • Date
    • Thread