Delete person in AddressBook
Delete person in AddressBook
- Subject: Delete person in AddressBook
- From: "Robert R. Horning" <email@hidden>
- Date: Thu, 6 Nov 2008 16:24:41 -0700
I have the following snippet of script:
try
tell application "Address Book" to set ThePerson to make new person
...
(code to add information, such as the person's address.)
...
on error
...
end try
Every now and then back comes the following error:
NSReceiverEvaluationScriptError: 4
number 1
In the error handler, I wish to tell Address Book to delete ThePerson
so that I can start over, but have found no syntax that works. Any
ideas?
Thanks, Bob.
PowerPC G5
OSX 10.4.11
(Plan to migrate to Intel and 10.5)
_______________________________________________
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