Re: Scripting Mail in OS X
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