When I use the <$count> widget, (no more fruit - this is the actual content I'm dealing with)
<$list filter="[all[current]fields[]]" variable="fieldname"> <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]]" variable="dummy" > <$list filter="[title<fieldname>getindex[origin]]" variable="origin"> <<origin>>:<$count filter=" <<origin>>"/><br> </$list> </$list> </$list> I get a list like this: cbm cbm.midline:1 pmrf:1 pmrf:1 [[opp motor cortex]]:1 pmrf cn8:1 There are 2 obvious problems: 1) the count treats each "sentence" (a line from a data tiddler) rather than each "word", and 2) the count is only valid for each "pass" through the filter, so everything will come out as "1" So I thought the best start would be to assign the output of the whole filter to a field for further processing. The filter set to output just "<<origin>>" by itself results in "cbm cbm.midline pmrf pmrf [[opp motor cortex]] pmrf cn8", which should be easier to deal with, but this doesn't seem to set the results in the field "aaa" of the current tiddler: <$list filter="[all[current]fields[]]" variable="fieldname"> <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]]" variable="dummy" > <$list filter="[title<fieldname>getindex[origin]]" variable="origin"> <$action-setfield $field="aaa" $value="<origin>"/> <<origin>> </$list> </$list> </$list> I tried all of the following $value="<origin>" $value=<origin> $value="<<origin>>" $value=<<origin>> $value="$<origin>$" $value=$<origin>$ but none of them resulted in a field "aaa" at all, let alone one filled with the proper content. Just before posting this I tried all variations of: <$action-setfield field="aaa" value="<origin>"/> i.e. I spotted that "field" and "value" didn't need the "$" like the "$tidder" would in the tiddlywiki.com examples What am I doing wrong here? I should be able to get that filter-produced string "cbm cbm.midline pmrf pmrf [[opp motor cortex]] pmrf cn8" into a field, shouldn't I? -- 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/b760d5f8-946c-471f-a5c7-1bbf2903ae73%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

