Wow, I missed a lot of new things. I wasn't aware of the count operator. To 
give some examples of what Mat is talking about here is how you would use 
it to get an input to a macro (copy and paste this into a tiddler on 
tiddlywiki.com to see what the two methods do):

\define DoSomething()
The filter counted $(number)$ tiddlers
\end

\define DoSomethingElse(number)
The filter counted $number$ tiddlers
\end

!!Method 1 - Substitution

<$list filter='[tag[HelloThere]count[]]' variable='number'>
<<DoSomething>>
</$list>

!!Method 2 - Macrocall widget

<$list filter='[tag[HelloThere]count[]]' variable='number'>
<$macrocall $name=DoSomethingElse number=<<number>>/>
</$list>


As Matthew Lauber said, you can also use a set widget to make the 
variables, I just like the list widgets for some reason.

-- 
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/b6f606aa-4734-4bfc-9eb0-70d646f120d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to