Re: Contacts whose email clauses in Entourage X
Re: Contacts whose email clauses in Entourage X
- Subject: Re: Contacts whose email clauses in Entourage X
- From: Jeff Porten <email@hidden>
- Date: Tue, 16 Nov 2004 04:46:08 -0500
On Nov 15, 2004, at 9:01 PM, Paul Berkowitz reaffirmed his godsend
status by writing:
I don't believe it. (Except maybe if it was on a test database, where
every
contact had an email address.)
No, not a test database, but all of my contacts have an email address.
I'm still using Mail and Address Book as my primary stores; the
Entourage thing is an experiment where I'm bouncing messages on which I
want to do more complicated things. So all of my contacts DO have an
email address 1, because the only way a contact is added to the E'rage
list is from a redirected message.
It may be that Entourage tries to coerce 'email address 1' to a sort of
'email address' property, and can do a whose clause on it. But when it
hits
a contact with no email address - error. (That's why maybe if you used
it on
a test database where all the contacts had email addresses, it might
have
worked there. I don't have time to check just now.)
Yup, this looks right, and this explains my error. Earlier today, I
*did* have one contact without an address, which I fixed. Never would
have guessed this was the source of the transient error.
Fortunately for you, there's a much better and faster way of doing
this,
which will even return every contact that has that email address as
_any_ of
its email addresses, just as you want. I guess you didn't notice it in
the
Dictionary:
find "email@hidden"
--> list of all contacts with that address, or {} if none
Wow wow wow wow. Thanks, Paul. No, I *didn't* see that. Much obliged.
Best,
Jeff
_______________________________________________
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