• 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: Bruce L Giles <email@hidden>
  • Date: Sat, 16 Jun 2001 01:02:00 -0400

At 6:41 PM -0600 06/15/2001, garbanzito wrote:
at 6/15/01, 6:18 AM -0400, they whom i call Bruce L Giles wrote:
Does anyone have any sample scripts for Apple Mail in OS X that extracts the value of various headers? Specifically, I need a script that can grab the contents of the following headers from the frontmost message window, or the selected message in a mailbox:

To: [...]

Mail has a bizarre object model.

No kidding!

i don't have the answer, and i hope
the object model is fixed before too many scripts are written for it,
but you get some clues from the examples at:

<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.

--
Bruce L. Giles, Oak Ridge, TN USA -- e-mail: email@hidden


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

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