• 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: AB: Finding a contact from the phone number??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: AB: Finding a contact from the phone number??
      • From: Michelle Steiner <email@hidden>
References: 
 >AB: Finding a contact from the phone number?? (From: Jakob Peterhänsel <email@hidden>)

  • Prev by Date: Re: application file id?
  • Next by Date: Re: AB: Finding a contact from the phone number??
  • Previous by thread: AB: Finding a contact from the phone number??
  • Next by thread: Re: AB: Finding a contact from the phone number??
  • Index(es):
    • Date
    • Thread