Why doesn't this work in Address Book?
Why doesn't this work in Address Book?
- Subject: Why doesn't this work in Address Book?
- From: Robert Nicholson <email@hidden>
- Date: Sun, 19 Mar 2006 09:59:01 +0700
If I have a real simple address entry ie. just the email why does
this script produce NSReceiverEvaluationScript errors
set liste to {}
set avirer to {}
tell application "Address Book"
with timeout of 3200 seconds
set code to ""
repeat with this_person in every person of group "Test"
if this_person is in liste then
set avirer to avirer & this_person
else
set liste to liste & this_person
end if
end repeat
repeat with this_person in avirer
remove this_person from group "Test"
save addressbook
end repeat
end timeout
end tell
I had started by trying to save the vcards and the contacts id but
how do I either remove a contact by id or get it's contact object by
it's id?
_______________________________________________
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