Re: Address Book comparison
Re: Address Book comparison
- Subject: Re: Address Book comparison
- From: John M <email@hidden>
- Date: Mon, 4 Jul 2005 22:42:21 +0100
Hi Patrick,
As email is not a property if people in Address Book this script
looks in contact's vCards. This leaves the possibility that the
email address searched for may be in a different field from the email
field.
--
set theEmail to text returned of (display dialog "Enter email
address" default answer "email@hidden")
tell application "Address Book" to set theNames to name of every
person whose vcard contains theEmail
if theNames is {} then
display dialog theEmail & " is not in Address Book"
else
display dialog (theNames as string) & " contains " & theEmail
end if
--
John M
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden