Re: Scripting the Mac OS X mail app
Re: Scripting the Mac OS X mail app
- Subject: Re: Scripting the Mac OS X mail app
- From: garbanzito <email@hidden>
- Date: Sun, 25 Mar 2001 12:49:46 -0700
at 3/24/01, 9:24 PM -0500, they whom i call Rob Jorgensen wrote:
[creating new messages with Apple Mail]
This might help:
<http://www.apple.com/applescript/MacOSX_Overview/samples/02.htm>
interesting. i looked at it, and what i learned is that the
implementation is complicated and likely to confuse people.
you must make both a "compose message" (misnamed, i think)
and add it to a "message editor" (the former appears to be
an element of the latter, but on this the dictionary is
mum).
the dictionary does have a plain "message" object, but i
haven't been able to do anything with it. maybe it's
because "Scripting support for editing mailbox content in
not working in the intial [sic] Mac OS X release."
(<
http://www.apple.com/applescript/MacOSX_Overview/scriptable/01.htm>)
also puzzling is why this line of the sample script is required
to make the font changes stick:
set the content of this_message to the content of this_message
steve harley email@hidden