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 with a 
$list widget.

For example -- new tiddlers can be created in the background with the use 
of the $action-setfield widget (without the need for the $x-maketid widget) 
and navigated to with the use of the $action-navigate widget. Any other 
action-widgets can also be optionally added to the stack to modify the new 
tiddler.

<$button>
<$list filter="[make[<<currentTiddler>> %count% \ max:3]]">
<$action-setfield text="My New Tiddlers" title=<<currentTiddler>>/>
<$action-setfield tags="one [[and two]] three"/>
<$action-navigate/>
</$list>
Make New Tiddlers
</$button>

regards

On Friday, 18 December 2015 23:52:05 UTC+2, Tobias Beer wrote
>
>
> There could be a make *widget* that operates in your proposed mode, e.g.:
>
> <$make
> $min="5"
> $max="10"
> title="the pattern %count%"
> caption="%count%"
> tags="foo [[bar baz]]"
> tag1="mumble"
> tag2="frotz gronk">
> Click to create 5 tiddlers
> </$make>
>
> Whereas it would check for any tag attributes so long as they exist, 
> starting from tag1, incrementing. So, in the above, the eventual tags field 
> would contain "foo [[bar baz]] mumble [[frotz gronk]]". However, what 
> would be the use-case to create tiddlers with otherwise similar / identical 
> properties? When do I need a button to create 10 tiddlers?
>
> The one appeal this has is that it doesn't sound as complicated as 
> *action-x-maketid*. With a simple button it really only needs to trigger 
> a simple message that contains a reference to a state tiddler to which we 
> push the json string for all the stuff we want created ...to be picked up 
> by the message handler.
>
> 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 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/82479eee-99d8-4028-a22c-be38a8b7e815%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to