Hi Matabele
> To avoid the necessity for separate tiddlers for each list, lists may be
> stored as data entries in a data dictionary (here titled 'lists'):
>
> days: Sun Mon Tue Wed Thu Fri Sat
> months: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
>
> -- then:
>
> \define nexttag()
> [list[lists##days]after[$(oldtag)$]][list[lists##days]first[]]+[first[]]
> \end
>
That's very,very nice :-)
Great to see practical use of a data library/catalog.. - gives food for
thought.
I can't help wondering if:
Is it possible to change the "library index" part (lists##days)to a
variable eg.: lists##$variable$ and make the "current" part(s)
(set="!!current" and <$set name="oldtag" value={{!!current}}>) also into a
variable and turn everything into a single cycle tags macro where you
specify the tiddler and the list eg.:
<<cycleTags "TiddlerName" "days">> or <<cycleTags ""(current) "months">> ??
Cheers Måns Mårtensson
>
>
> On Tuesday, July 1, 2014 8:38:15 AM UTC+2, Måns wrote:
>>
>> Hi TwWizards
>>
>> I wonder if it is possible to create a button which will set and unset
>> tags from a predefined row of tags. I want to be able to cycle through 4
>> "stages": A, B, C and none of these three tags...
>>
>> Can I do this already? - or do I need a specialized Widget for it?
>>
>> Cheers Måns Mårtensson
>>
>>
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.