• 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: Scripting Mail in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Mail in OS X


  • Subject: Re: Scripting Mail in OS X
  • From: garbanzito <email@hidden>
  • Date: Sat, 16 Jun 2001 00:13:05 -0600

at 6/16/01, 1:02 AM -0400, they whom i call Bruce L Giles wrote:
<http://www.apple.com/applescript/MacOSX_Overview/samples/02.htm>

Unfortunately, that doesn't really help, as none of the scripts on that page have anything to do with getting information out of a message. If I could just figure out how to refer to the frontmost message, and a highlighted message in a mailbox, I'd be halfway there.

yeah, but they put things into a message, so they seem to
imply how things are structured. for instance, based on
these lines of the sample script:

set this_message to make new compose message at beginning of every compose message
tell this_message
make new to recipient at beginning of to recipients ,
with properties {address:"email@hidden", display name:"Steve Smith"}

i would try something like

get address of recipient 1 of compose message 1

haven't tried it - just a hunch. good luck!

steve harley email@hidden


References: 
 >Scripting Mail in OS X (From: Bruce L Giles <email@hidden>)
 >Re: Scripting Mail in OS X (From: garbanzito <email@hidden>)
 >Re: Scripting Mail in OS X (From: Bruce L Giles <email@hidden>)

  • Prev by Date: Re: Eliminating items from a MS Word list
  • Next by Date: Re: Add Scaled
  • Previous by thread: Re: Scripting Mail in OS X
  • Next by thread: Replacing Codes with Text
  • Index(es):
    • Date
    • Thread