Updating records in Address Book
Updating records in Address Book
- Subject: Updating records in Address Book
- From: "Robert R. Horning" <email@hidden>
- Date: Mon, 18 Feb 2008 11:41:50 -0700
In Tiger, v10.4.11, when I create a new Address Book entry for a new
person and immediately set the person's properties, calling
theScript's routines, as is done in:
/Library/Scripts/Address Book Scripts/Import Addresses.scpt and
/Library/Scripts/Address Book Scripts/Helper Scripts/Import Helper.scpt
all goes well.
However, if I save the new person's id in a variable and then execute
some intervening code between creation of the entry for the person
and setting a property for the person using the saved id, Applescript
returns:
error number -10006,
with a typical error message:
"Can't set «class az39» of \"560C6DDE-C148-4894-9F2C-
EFA002F55E2E:ABPerson\" to \"Ms.\"."
The intervening code accesses other persons and their id's, but the
saved id for the person of interest is not touched. What's going on
and how do I fix it?
Thanks, Bob. _______________________________________________
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