Scott Kingery
2018-11-13 00:56:16 UTC
Given a tiddler called "Tiddler X", I would like to include a button it
that would create a new tiddler called "Tiddler X: and the current date
time"
This non-working code is an example of what I mean
<$button>New Project
<$action-sendmessage $message="tm-new-tiddler" text='{{||$:/project}}'
tags={{!!title}} title={{!!title}} <<now "YYYY-0MM-0DD hh12:0mmpm">>/>
</$button>
I think I need to build a macro to get the title and time together in some
fashion but can't seem to sort it out.
If that can't be done then I'd like auto-increment so the new tiddler would
be {{!!title}}+# similar to how you get "New Tiddler 2" if one exists.
Thanks
that would create a new tiddler called "Tiddler X: and the current date
time"
This non-working code is an example of what I mean
<$button>New Project
<$action-sendmessage $message="tm-new-tiddler" text='{{||$:/project}}'
tags={{!!title}} title={{!!title}} <<now "YYYY-0MM-0DD hh12:0mmpm">>/>
</$button>
I think I need to build a macro to get the title and time together in some
fashion but can't seem to sort it out.
If that can't be done then I'd like auto-increment so the new tiddler would
be {{!!title}}+# similar to how you get "New Tiddler 2" if one exists.
Thanks
--
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+***@googlegroups.com.
To post to this group, send email to ***@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/f7e0af7e-c296-4e29-99b5-a3d87cf095c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+***@googlegroups.com.
To post to this group, send email to ***@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/f7e0af7e-c296-4e29-99b5-a3d87cf095c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.