Re: Address Book->check for existing record before adding
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.