• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Automating a Salutation in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Automating a Salutation in Mail (From: Christopher Stone <email@hidden>)

  • Prev by Date: Retrieving a "Range" in Excel for storage in a Database
  • Next by Date: How to determine if a folder exists on a system?
  • Previous by thread: Automating a Salutation in Mail
  • Next by thread: Retrieving a "Range" in Excel for storage in a Database
  • Index(es):
    • Date
    • Thread