Re: Address Book: Getting a reference to email by ID
Re: Address Book: Getting a reference to email by ID
- Subject: Re: Address Book: Getting a reference to email by ID
- From: Todd Geist <email@hidden>
- Date: Fri, 11 Apr 2008 08:02:35 -0700
thanks every one for your help,
I was trying to find the shortest route to finding an email object in
Address book by it's unique ID. This doesn't seem possible. What I
came up with is the following handler.
on getEmail(personID, emailID)
tell application "Address Book"
get email id emailID of person id personID
end tell
end getEmail
This works, but I have to reference the parent object as well.
It does seem a bit strange to have a unique ID for an object but not
allow any way to get that object without having to reference the
object's parent. Perhaps it is because the id may not be truly
unique?? I don't know...
Thanks
Todd
Todd Geist
-------------------------------------------------------------
geist interactive
323-383-3600
MBS Plug-in, 12 plug-ins in one
_______________________________________________
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