On 11/5/00 2:55 AM, "Bill Cheeseman" <[EMAIL PROTECTED]> wrote:

>> Can you give an example?  I know that whose clauses are broken, but what
>> else isn't behaving as you'd expect.
> 
> tell application "Microsoft Entourage"
>   tell contact 1
>       set myCategories to category --> category
>       -- set aCategory to item 1 of myCategories --> error:Can't get item
> 1 of category
>       set myCategories to category of it --> {category id 6 of application
> "Microsoft Entourage"}
>       set aCategory to item 1 of result --> category id 6 of application
> "Microsoft Entourage"
>       name of aCategory --> "Family"
>   end tell
> end tell
> 
> You don't have to use "of it" when you run the same script to get links of
> contact 1.

Yes, I saw this too. Here 'category' is behaving only as a property of the
application rather than as a property of the contact object unless
explicitly told "of it" or "of contact 1". That is not the case with any
other element's properties in Entourage, not just 'links' (although it's the
obvious direct comparison since links is also a list).

-- 
Paul Berkowitz


-- 
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives: 
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to