On 10/19/00 1:26 AM, "Bruce Klutchko" <[EMAIL PROTECTED]> wrote:
>> It never occurred to me that someone would want to select a group to deal
>> with its members, but it's a good idea. I thought you'd either want to do
>> all contacts, and then just new (usually single) contacts as you made them
>> afterwards. (You've got the titles of the scripts a bit mixed up there, and
>> the "All" script doesn't require you to select any contacts at all: it just
>> works on all of them without your having to do anything, and does not choke
>> on groups because it doesn't handle groups.)
>>
> I didn't mix them up, despite the late hour. The error (Group 73 error??)
> occurred in the "Display Contact's Categories E" script if a group was
> selected in error. The error "Microsoft Entourage got an error: A descriptor
> type mismatch occurred." occurs in the "Display All Contacts' Categories E"
> script. It happens even before there is a choice to deselect certain
> contacts. The script never ran for me.
Aagh, You're right: the script includes something that _should_ work, but
doesn't. It's really an Entourage bug, not mine, but i need to work around
it. It's a serious bug in Entourage applescripting, which I've known about
for a few days, and reported on the beta list. I never tested that
particular bit with this script because i didn't want to fill all my
contacts' job titles.
set theContacts to (every contact whose category � {})
errors just as you say (descriptor mismatch) , because 'whose' clauses were
not implemented for the category property of contact.
I just fixed it in the script, to:
set theContacts to (every contact)
which will take longer as it has to loop through every contact including the
ones with no category. But it will work.
Thanks a lot for reporting this.
--
Paul Berkowitz
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>