Thanks Matabele.

On Wednesday, July 20, 2016 at 5:44:13 AM UTC+12, Matabele wrote:
>
> Hi Farayi
>
> The ActionListops widget is designed for this kind of operation and 
> simplifies code considerably -- to search and replace a tag use with the 
> replace[] filter operator like so:
>
> <$button>
> <$list filter="[tag[oldtag]]">
> <$action-listops $tags="newtag +[replace[oldtag]]"/>
> </$list>
> Do This
> </$button>
>
> -- the $tags filter will operate on the 'tags' field of the current tiddler
> -- the 'newtag' entry appends the tag to replace with to the end of the 
> list
> -- the replace[oldtag] filter operator searches for 'oldtag' and replaces 
> it with the last item in the list ('newtag' in this case)
> -- the list filter is used to select the list of tiddlers to operate on 
> (this may be any listing -- in this case the list of tiddlers with 'oldtag')
>
> Hope this helps
>
> regards
>
> On Monday, 18 July 2016 10:52:16 UTC+2, Farayi Chambati wrote:
>>
>>
>> I have a tag like "Movie" and "movie". How do I rename one or how I merge 
>> these? My queries are now very complicated because of this. OR what do you 
>> recommend?
>>
>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/2550cf27-df15-48c1-a812-bf137490a7c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to