Deleting address book fields
Deleting address book fields
- Subject: Deleting address book fields
- From: Rob Lewis <email@hidden>
- Date: Wed, 26 Sep 2007 21:52:40 -0700
Many entries in my Address Book file have one or more custom date fields labeled "NC Mod Date". I want to go through the whole file and delete all these fields. The following doesn't seem to work. What am I doing wrong?
tell application "Address Book"
set no_persons to (count every person)
repeat with p_no from 1 to no_persons
try
tell person p_no delete (every custom date whose label is "NC Mod Date") end tell
end try
end repeat
end tell
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden