<$set name=foo filter="[prefix[New]count[]]" value="There are 
$filteroutput$ tiddlers with prefix New" >
<<foo>>
</$set>

Because SetWidget filters are evaluated I'm guessing there must be *variable 
with the filter result* existing somewhere (in the js).

Is there some way to access this variable so that it can be used in the value 
parameter? (Here examplified with the $filteroutput$)

This would make it very easy to use the SetWidget as an "IF-then" statement 
or, if also using emptyValue, an "IF-then-else". Extremely useful.

For example

<$set name=foo filter="..." value=<<macro1>> emptyValue=<<macro2>> >

...where the macros thus can use the filter result, and you then access the 
final result via <<foo>>

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/232d6d6d-039e-4580-9b9c-d23e50385812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to