Re: Category on an Entourage Contact
Re: Category on an Entourage Contact
- Subject: Re: Category on an Entourage Contact
- From: Bill White <email@hidden>
- Date: Wed, 15 Oct 2003 22:32:23 -0400
>
I can not figure out how to get the name of a category of a contact.
>
This script...
>
>
>
tell application "Microsoft Entourage"
>
set x to category of contact 568
>
log x
>
name of category x
>
end tell
Try this:
tell application "Microsoft Entourage"
set x to contact id 568
set y to category of x -- a LIST of categories
set z to item 1 of y -- the first item in the list
return name of z -- its name
end tell
A bit clunky, but it works. And it would only grab the first of potentially
several categories.
--Bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.