[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-21 Thread leeand00
Tobias! That's great! Good work and thank you! The use case for making several similar tiddlers is for creating tab sets to make a quick an easy reference of steps or just tabs in general. When the filter is run to collect the tabs and sort them in the tabs macro, it's faster to create

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-19 Thread Tobias Beer
Hi guys, I implemented all of the suggested improvements as announced here: https://groups.google.com/forum/#!topic/tiddlywiki/ebha1ktI22U Best wishes, Tobias. On Saturday, 19 December 2015 12:59:47 UTC+1, Tobias Beer wrote: > > Hi leeand00 & matabele, > > >> I created a new filter plugin

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-19 Thread Matabele
Hi Tobias Neat -- to replace most of the functionality of the $x-maketid widget, use: <$button> <$list filter="[make[MyNewTitle \max:3]]"> <$action-setfield text="My New Tiddlers" tags="one [[and two]] three" field-one="myvalue"/> <$action-navigate/> Make New Tiddlers -- can create one or

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-19 Thread Tobias Beer
Hi leeand00 & matabele, > I created a new filter plugin that allows to generate new titles for use > with things like the *set* or *list* widget: > > http://tobibeer.github.io/tw5-plugins/#make > FYI, I have decided to change some fundamentals of make again. For the time being, to generate

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-19 Thread Matabele
Hi Tobias Good idea -- a number of tiddlers can be created from a list like so: <$button> <$list filter="[[]append:3{Days of the Week!!short}]"> <$action-setfield text="My New Tiddlers" tags="one [[and two]]" field-one="myvalue"/> <$action-navigate/> Make New Tiddlers It would be great if

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-19 Thread Tobias Beer
Hi matabele, > It would be great if the make[] operator could prepend/append terms to the > listed titles. > Exactly what I'm saying. I simply need to use the input titles, if any are given, and then simply do: {{{ a b c +[make[before %title% after]] }}} - before a after - before b

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-19 Thread Tobias Beer
Hi Matabele, Just know that you possibly don't even need to use any *%count% *for the new titles. So, instead of... <$list filter="[make[<> %count% \ max:3]]"> This will equally work... <$list filter="[make[max:3]]"> Best wishes, Tobias. -- You received this message because you are

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-18 Thread leeand00
And then when you click on the link, that new tiddler gets the specified tags, titles and fields: On Friday, 18 December 2015 14:35:17 UTC-5, leeand00 wrote: > > Not that I know anything about this but... > > It would probably be better to have a json similar syntax like this: > > {{{ [make[the

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-18 Thread leeand00
Yes that would be very good indeed! The only thing that's lacking in make is the ability to preset and increment fieldnames / tags. Tags shouldn't be a big deal, but fieldnames should be able to be incremented, since then you can select and sort them using a filter for tab creation quite

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-18 Thread leeand00
Not that I know anything about this but... It would probably be better to have a json similar syntax like this: {{{ [make[the pattern %count% max:11, fields:{'caption','%count%'}, tags {'tag1', 'tag2'}]] }}} {{{ [titleList: {'init', 'commit', 'diff'} ][make[the pattern %title% max:11,

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-18 Thread Matabele
Hi leeand00 It should be possible to use the make[] filter operator to generate the title for my $x-maketid widget -- the title could then include any of the varied options available in the make[] operator. I can not think, off hand, of a way of creating several new tiddlers with the

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-18 Thread Matabele
Hi It turns out that this can be done without modification to the $x-maketid widget -- a simple example follows: <$button> <$list filter="[make[<> %count% \ max:3]]"> <$x-maketid text="My New Tiddlers" $title=<>/> Make New Tiddlers Other fields may also be set for the newly created tiddlers,

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-18 Thread Tobias Beer
Hi leeand00, > {{{ [make[the pattern %count% max:11, fields:{'caption','%count%'}, tags > {'tag1', 'tag2'}]] }}} > Haha, I think you are mildly mistaken about what *filters* do. :D Yes, this filter is called *make*. No, it does — in itself — not (allow to) create tiddlers! What it does is

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-18 Thread Matabele
Hi I like the use of a make[] operator to generate new titles before creation of new tiddlers -- as action-widgets can then be used to modify the new tiddler (the title is known in advance.) The operator may be used with the $action-listops widget to create a list of new titles, or directly

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-17 Thread Tobias Beer
Hi leeand00, I created a new filter plugin that allows to generate new titles for use with things like the *set* or *list* widget: http://tobibeer.github.io/tw5-plugins/#make Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-17 Thread Matabele
Hi Tobias That looks like the job :-) As it appears that this filter could be used in other widgets to generate new titles by using the output of a filter expression (specified as an attribute): <$x-maketid $title="[make[operand expression]]" /> I'll have a look at this option -- flexible

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-17 Thread leeand00
Thanks Tobias! That's the ticket! That's exactly what I needed! This will save me tons of time and effort and scrolling! On Thursday, 17 December 2015 09:03:17 UTC-5, Tobias Beer wrote: > > Hi leeand00, > > I created a new filter plugin that allows to generate new titles for use > with

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-17 Thread Tobias Beer
Hi leeand00, > Thanks Tobias! That's the ticket! That's exactly what I needed! This > will save me tons of time and effort and scrolling! > Cool! :-) When you've implemented it, please post an example / demo of how you actually use it. I'd like to put a more specific use case like that

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-16 Thread Matabele
Hi The $x-maketid widget looks to see if there is an existing tiddler with the specified title (and appended date/time if specified) and, if so, appends an integer to the title -- the integer begins at one and increments in steps of one. A facility could be added to begin the integer at some

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-16 Thread Jed Carty
I made an action widget that may help. http://inmysocks.tiddlyspot.com/#MathyThing%20-%20action-increment%20Widget -- 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

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-16 Thread Tobias Beer
Hi Jed, > I made an action widget that may help. > http://inmysocks.tiddlyspot.com/#MathyThing%20-%20action-increment%20Widget > >

[tw] Re: [TW5] Can a Widget Set Variable be incremented?

2015-12-16 Thread Tobias Beer
Hi, Rather than (try and) have this a wiki-feature, would a little console script be fine for you to achieve what you want? Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving