On Thursday, 2 February 2017 12:31:25 UTC, Tobias Beer wrote:
>
> Hi J,
>
> As far as I can see, it cannot, since it provides
> the button itself rather act like other ActionWidgets 
> <http://tiddlywiki.com/#ActionWidgets>.
>
> However, you can use tobibeer/make 
> <http://tobibeer.github.io/tw5-plugins/#make> and tobibeer/split 
> <http://tobibeer.github.io/tw5-plugins/#split>
> alongside the WidgetMessage: tm-new-tiddler 
> <http://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler> like so:
>
> <$set name="titleFoo" filter="[[foo]make[%title% %date% \ 
> date-format:YYYY-0MM-0DD]split[ ]]">
> <$set name="titleBar" filter="[[bar]make[%title% %date% \ 
> date-format:0hh:0mm:0ss]split[ ]]">
> <$button>
> <$action-sendmessage $message="tm-new-tiddler" title=<<titleFoo>> 
> tags="Foo" text=<<now "Today is DDth, MMM YYYY">>/>
> <$action-sendmessage $message="tm-new-tiddler" title=<<titleBar>> 
> tags="Bar" text=<<now "Today is DDth, MMM YYYY">>/>
> Create two tiddlers in edit-mode
> </$button>
> </$set>
> </$set>
>
> Alternatively, you can use the ActionSetFieldWidget 
> <http://tiddlywiki.com/#ActionSetFieldWidget> instead,
> to create the tiddlers silently, w/o EditMode:
>
> <$set name="titleFoo" filter="[[foo]make[%title% %date% \ 
> date-format:YYYY-0MM-0DD]split[ ]]">
> <$set name="titleBar" filter="[[bar]make[%title% %date% \ 
> date-format:0hh:0mm:0ss]split[ ]]">
> <$button>
> <$action-setfield $tiddler=<<titleFoo>>
> text=<<now "Today is DDth, MMM YYYY">>
> tags="Foo"/>
> <$action-setfield $tiddler=<<titleBar>>
> text=<<now "Today is DDth, MMM YYYY">>
> tags="Bar"/>
> <$action-navigate $to=<<titleBar>>/>
> <$action-navigate $to=<<titleFoo>>/>
> Create two tiddlers silently and open them
> </$button>
> </$set>
> </$set>
>
> You can try the above examples directly at:
>
> http://tobibeer.github.io/tw5-plugins
>
> Best wishes,
>
> Tobias.
>

Tobias, thanks for your very quick reponse.

I am not sure how your examples call up a tiddler containing the list of 
tiddler titles which I need to split, but I will look through your examples 
and documentation.
After further reading, I'm sure it will be made clear.

Best wishes,

J Mc

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/42ff963d-54a4-4c41-9d6f-4905c6150b81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to