Re: Getting Existing Outgoing Message in Mail.app
Re: Getting Existing Outgoing Message in Mail.app
- Subject: Re: Getting Existing Outgoing Message in Mail.app
- From: Michelle Steiner <email@hidden>
- Date: Fri, 21 Dec 2007 18:36:14 -0700
On Dec 21, 2007, at 1:30 PM, Luther Fuller wrote: Tell application "Mail" outgoing message end tell Does not create a new message. I've just spent about half an hour reading Mail's dictionary to find the command to create a new message. (Surely, one can do that!)
You're trying too hard.
tell application "Mail" activate set newMsg to (make new outgoing message with properties {visible:true, subject:"my subject", content:"Hello World"}) tell newMsg make new to recipient with properties {name:"Michelle Steiner", address:"email@hidden"} make new to recipient with properties {address:"email@hidden", name:"applescript users"} end tell end tell
-- "As democracy is perfected, the office of president represents, more and more closely, the inner soul of the people. On some great and glorious day the plain folks of the land will reach their heart's desire at last and the White House will be adorned by a downright moron."
.... H.L. Mencken ...
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden