[Tb] If a container has children...

From: mf <frankelm__AT__cfoi.demon.co.uk>
Date: Mon Oct 25 2004 - 04:13:32 EDT

On the first question, make the agent query "ChildCount>0" (finds any=20=

note with more than 0 children)

mf

On 25 Oct 2004, at 7:25, Charles Starrett wrote:

> I have two questions:
>
> 1. How should I construct the query for an agent which detects if a=20
> particular container ("inbox") has children? I tried various=20
> permutations on: Name(inbox)&exists(child) but I couldn't get anything=20=

> to work... The idea is that I want to change the color of the=20
> container depending on whether it has children or not, to further get=20=

> my attention.
>
> 2. What is the purpose of the "Agent..." attributes for notes in the=20=

> Info window? I knew that containers could perform actions when notes=20=

> we added to them OnAdd, but can they also act like agents? I couldn't=20=

> see any results from altering these Agent... attributes.
>
> Thanks.
>
> Best,
> Charles
> --
> "A true gentleman is one who knows how to play the bagpipes...
> ...but doesn't."=A0=A0- R. Acket
> "Gentlemen shmentlemen." - C. Starrett
> <URL: http://www.charlesstarrett.com/ >
> _______________________________________________
> Tb mailing list
> Tb__AT__lee-phillips.org
> http://lee-phillips.org/mailman/listinfo/tb
>
Received on Mon Oct 25 08:13:32 2004

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 10:45:20 EST