Re: Recipients in Mail.app
Re: Recipients in Mail.app
- Subject: Re: Recipients in Mail.app
- From: John Delacour <email@hidden>
- Date: Wed, 25 Jun 2003 13:50:46 +0100
- Mac-eudora-version: 6.0a23
At 10:46 pm -0700 24/6/03, Todd Fernandez wrote:
On Tuesday, June 24, 2003, at 06:43 PM, Marc K. Myers wrote:
>> tell application "Mail"
set _message to make outgoing message with properties {visible:true}
tell _message
set r1 to {name:"me", address:"me@home"}
make to recipient at end with properties r1
end
>> end
The following script gives me a new message with the To: line properly
filled out with Mail 1.2.5 on Mac OS X 10.2.6:
tell application "Mail"
set new_message to make new outgoing message with properties
{visible:true}
tell new_message
make new to recipient at end of to recipients with properties
{name:"Jane Doe", address:"email@hidden"}
end tell
end tell
That is precisely the same as mine in all essentials. 'new' is
always optional and usually pleonastic since it is not possible to
make an old thing, and 'end (of), while insisted on by Mail in this
case, does not need to be followed by anything.
JD
.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.