...I don't often write things that the group might find useful (I'm a taker
here, not as much a giver). But today, I wrote a quick utility to
check/change the colors of tagged tiddlers to match the tiddler to which
they are tagged. Might be helpful for those who use colors to
differentiate different types of tags. Hard-coded to check tiddlers tagged
with "Dimensions" now, but easy to change.
Enjoy!
<!--get list of dimensions-->
Dimensions: <$select tiddler='$:/generated-list-selected-dimension'>
<$list filter='[tag[Dimensions]]'>
<option value=<<currentTiddler>>><$view field='title'/></option>
</$list>
</$select>
<!-- get the color of a tag for a tiddler -->
<$list filter="[title{$:/generated-list-selected-dimension}]">
<$macrocall $name="tag" tag={{$:/generated-list-selected-dimension}}/><br>
<$set name="color" value={{!!color}}>
<!--get all the tiddlers tagged-->
<$list filter="[tag{!!title}]">
<$macrocall $name="tag" tag=<<currentTiddler>>/>
<$button>change the color
<$action-setfield color=<<color>> /> </$button><br>
</$list>
--
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/bae826b0-51dd-4fd6-8ce2-0de2b427d4ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.