Date: Fri, 20 Jan 2006 19:02:19 -0800
Subject: Re: Address Book bug
Content-Type: text/plain; charset="iso-8859-1"
You were doing something wrong, sort of. (You'd also find it easier to
follow threads on this mailing list if you'd reply using the Reply button -
I suppose you need to Reply to All and then remove the individual recipient
since you're not using an advanced email client like Entourage that can
Reply directly to the list - and then sort messages by Subject. I already
gave you the solution in a previous email.)
You need to
tell application "Address Book"
tell person 1
make new custom date at end of custom dates with properties
{label:"Mod Date", value:ABmoddate}
end tell
end tell
Before Tiger (or some Panther upgrade), you had to do this for every new
element in every Cocoa app. Supposedly, according to Chris Nebel, this was
"fixed" in Panther (others say Tiger). But I think it was only "fixed" in
the sense that Cocoa application developers were now free not to require "at
the end of" (or beginning of). That doesn't mean they actually used the new
facility or made changes, and certainly not for every class of elements.
Address Book is pretty good, by and large, but they didn't change the
implementation for custom dates of person. You still need 'at the end of
custom dates' even in Tiger. So I guess you can still consider it a bug if
you wish, but there is a solution, and it's the solution that has worked for
all elements in Address Book since the beginning of its scriptability in
Jaguar. I just stick with 'at the end of' to avoid these problems.
--
Paul Berkowitz