Re: AB: Finding a contact from the phone number??
Re: AB: Finding a contact from the phone number??
- Subject: Re: AB: Finding a contact from the phone number??
- From: John Delacour <email@hidden>
- Date: Mon, 5 May 2003 00:54:01 +0100
- Mac-eudora-version: 6.0a16
At 1:15 am +0200 5/5/03, Jakob Peterh
nsel wrote:
[...] and it works just fine, but this will not work:
set foundPerson to (first person where some phone's value is "+45 40
16 38 06")
It works here. Perhaps you are being too exact and your string is
not quite that.
tell application "Address Book"
get name of first person where some phone's value contains "329300"
end tell
--> "John R. Gillies"
tell application "Address Book"
name of people whose value of some phone contains "01722"
end tell
--> {"John R. Gillies", "Henry"}
JD
_______________________________________________
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.