I think I've figured out what it does...
// Make a list of Tiddlers tagged with "myTag", which aren't drafts <$list filter="[tag[$tag$]] -[has[draft.of]]" variable="myTag"> // Output the list as button widgets <$button class="button off"> // When the button is clicked, make a temp Tiddler with these tags in a field called "list" <$action-listops $tiddler="$:/temp/myTags" $field:list $subfilter="[tag[$tag$]] -[has[draft.of]]"/> // Take the current Tiddler (where this is called from) and tag it with a list with the tags from the list in the temp Tiddler removed, and tagWithSpaces (which is myTag) appended (not sure here?) <$action-listops $tiddler=<<currentTiddler>> $tags= "+[remove{$:/temp/myTags!!list}append<tagWithSpaces>]" /> <<myTag>> </$button> </$list> \end Next step is to reset the "class" of the buttons to "off", then set the "class" of the button I've clicked to "on". This is why I'm thinking it would have been easier to write a widget in JavaScript than to write a macro in TW. Again, totally impressed, but equally stumped! At least I'm learning!! -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywikidev@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/68d2af3f-d07e-4fcf-bcf1-e70343b3d1ef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.