Hi Casey
You might like to have a look at my new cycle[] filter operator from here
<http://listops.tiddlyspot.com/>. If you like this solution, copy across
the modified version of the '$:/core/modules/filters/x-listops.js
<#%24%3A%2Fcore%2Fmodules%2Ffilters%2Fx-listops.js>' filters to your wiki
(from the More/Systems tab.)
This mechanism has several advantages over my previous <<cycleTags>> macro:
-- only one reference list required
-- no conflicts between multiple buttons cycling the same tag
-- can work forward/reverse
-- can cycle multiple items in multiple lists/tiddler
If you prefer this in the form of a macro, this works much like the old
macro (taking values from the 'list' field of the current tiddler):
\define cycleTags()
<$button>
<$action-listops $tags="+[cycle{!!list}]"/>
Cycle Tag</$button>
\end
-- or, even simpler:
\define cycleStatus()
<$button>
<$action-listops $tags="+[cycle[active waiting done]]"/>
Cycle Status</$button>
\end
regards
On Friday, 15 January 2016 11:29:46 UTC+2, Casey Allan wrote:
>
> Oh, this is cool. Thanks, Matabele.
>
--
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/c00a13fa-7179-4e65-9d6e-c4e9df77e5be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.