Re: Address Book Question
Re: Address Book Question
- Subject: Re: Address Book Question
- From: Michelle Steiner <email@hidden>
- Date: Tue, 17 Feb 2004 12:33:17 -0700
On Feb 17, 2004, at 11:53 AM, Oakley Masten wrote:
How do I get the associated email address for a name listing?
Keep in mind that each name can have more than one email address. Here
is some sample code that will get you going:
tell application "Address Book"
set this_person to person "Michelle Steiner"
set persons_email to email of this_person
repeat with mail_item in persons_email
display dialog label of mail_item & ": " & value of mail_item
end repeat
end tell
-- Michelle
--
Peter pull at St. Taffy's tonight! (Or is it the other way around?)
_______________________________________________
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.