• 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: Address Book->check for existing record before adding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Address Book->check for existing record before adding


  • Subject: Re: Address Book->check for existing record before adding
  • From: Rob Jorgensen <email@hidden>
  • Date: Fri, 17 Oct 2003 16:31:44 -0400

At 12:39 PM -0700 10/17/03, Matthew Galaher wrote:
I am working on a script that so far uses a loop through every record
to check that I am not making a duplicate record by adding a new
contact through a script. This is mind numbingly slow. I first tried
something like "person whose email is "email@hidden" but I could not get
this to work. What I have so far follows, but I'm wondering if any one
has a suggestion for better i.e. faster way to approach this.
Thanks in advance.

Maybe this will help:

tell application "Address Book"
id of every person where value of emails contains "email@hidden"
end tell

-- Rob
_______________________________________________
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: Address Book->check for existing record before adding
      • From: Paul Berkowitz <email@hidden>
    • Re: Address Book->check for existing record before adding
      • From: Michelle Steiner <email@hidden>
References: 
 >Address Book->check for existing record before adding (From: Matthew Galaher <email@hidden>)

  • Prev by Date: Address Book->check for existing record before adding
  • Next by Date: Re: dropStuff
  • Previous by thread: Address Book->check for existing record before adding
  • Next by thread: Re: Address Book->check for existing record before adding
  • Index(es):
    • Date
    • Thread