Hi To create a number of tiddlers with similar names, have a look at my $x-maketid widget from here <http://gwiz-beta.tiddlyspot.com/>. Each successive call of the widget will generate a unique title -- using either a date/time stamp or an integer index.
A number of tiddlers with different root titles may be created using a $list filter with the filter expression including entries from a list (of titles) as a wrapper around the $x-maketid widget (passing the title via the <<currentTiddler>> variable.) regards On Friday, 4 December 2015 17:10:51 UTC+2, leeand00 wrote: > > > Matabele, that's almost perfect! > > To clear up the confusion, I put alot of examples in my wikis; and it's > easier to view these on tabs, they make a great reference. However, I get > annoyed when I have to scroll up; and then scroll down, and then scroll > up...etc... to set all of the tags on all of the tiddlers. > > When I use the <<tabs>> macro I use a filter to gather together all of the > fields based on a common tag (usually sorting them, but not always)...Note > that in your code example, using the <$action-setfield>'s tag attribute, I > had to put a in it to tag it using a tag with spaces. > > Now what you have in the code here is great; it allows me to use a > [prefix[]] or [sufix[]] in the filter to gather the tiddlers and add tags > to them... > > Now I only have three issues left...generating new tiddlers with a similar > name (but not the same name) programmatically....automatically adding an > edit link to bring up the tiddler in the tab..., and optionally setting the > caption to a substring or regex of the <<currentTiddler>>'s title; or > setting the caption programmatically to an incrementing sequence of > numbers...being able to do this combined with your example, will allow me > to create my tabs without scrolling up and down all the time... > > Sorry I'm such a noob with the new syntax...there are alot of things in > TW5 it's a little difficult to know where to look without talking to > someone about it first. > > Making the example tabs manually instead of programmatically really slows > me down; when I used TW Classic, I used to make these using PhraseExpress > macros, but I personally am not crazy about using a free tool that's > basically a keylogger. > > Thank you for your example! > > On Friday, 4 December 2015 05:28:14 UTC-5, Matabele wrote: > > > Hi >> >> Don't know exactly what you are looking for, but it is possible to place >> a $list widget containing action-widgets within a $button widget -- like >> this: >> >> <$button tooltip="Modify All"> >> <$list filter="[tag[MyTag]]"> >> <$action-setfield $tiddler=<<currentTiddler>> tags="[[tag one]] [[tag >> two]]" caption="something"/> >> </$list> >> Modify All >> </$button> >> >> regards >> >> On Thursday, 3 December 2015 19:21:22 UTC+2, leeand00 wrote: >>> >>> The new version of TW5 is great, I especially like the new tab tagging >>> feature... >>> >>> However setting that up becomes laborious on occasion since I have to go >>> to each tiddler in the gui and set it and it's number manually. >>> >>> I'm thinking it would be neat to try this in Javascript as a plugin or >>> something, but I was wondering if there's a way to do this with the >>> existing functionality. >>> >>> Thank you, >>> Andrew J. Leer >>> >> -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/00024179-3e3a-428e-97e7-5fcc7b2c99f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

