Re: Automating a Salutation in Mail
Re: Automating a Salutation in Mail
- Subject: Re: Automating a Salutation in Mail
- From: Philip Aker <email@hidden>
- Date: Wed, 8 Jul 2009 04:04:27 -0700
On 2009-07-08, at 03:14:54, Christopher Stone wrote: Okay, I've got this working now.
Sorry I wasn't following your previous post closely and may not understand the goal of the script. You seem to be jumping through hoops to get the name and email address of a 'to recipient' in a draft message which the user is currently working on. Is that correct? If so:
tell application "Mail" tell item 1 of (get selection) set {tname, taddr} to {name, address} of item 1 of (get to recipients) end tell end tell
Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@ Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
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