<$button>New Project
<$action-sendmessage $message="tm-new-tiddler" text='{{||$:/project}}' tags={{!!title}} title={{!!title}} <<now "YYYY-0MM-0DD hh12:0mmpm">>/>
</$button>
$basetitle | The initial title that will be attempted. If a tiddler with that title already exists, then a numerical counter is added to the title and incremented until it is unique |
$savetitle | A text reference identifying a field or index into which the title of the newly created tiddler will be stored after it is created |
<$wikify name=mytime text=<<now "YYYY-0MM-0DD hh12:0mmpm">> >
<$wikify name=mytitle text={{!!title}} >
<$button>New Project
<$action-sendmessage $message="tm-new-tiddler" tags={{!!title}} title=<<mytime>>/>
</$button>
</$wikify></$wikify>
\define concatenate() {{!!title}}: <<now "YYYY-0MM-0DD hh12:0mmpm">>
<$wikify name="newtitle" text=<<concatenate>> >
<$button>New Project
<$action-sendmessage $message="tm-new-tiddler" tags={{!!title}} title=<<newtitle>>/>
</$button>
</$wikify>
<$wikify name="newtitle" text="""{{!!title}}: <<now "YYYY-0MM-0DD hh12:0mmpm">>""">
There is one issue!--When you title has space, then the tags={{!title}} would not work as expected!Check itMohammad
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/nC5RtR1L01M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@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/b5bc185f-cc52-4a18-ba34-d5ff3ad3a62f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
\define newTid(param:"", btn-caption:"New project", color:"#8058A5") <$button style="color:$color$; fill:$color$; margin-bottom:5px;">{{$:/core/images/new-button}} $btn-caption$
<$wikify name="newTitle" text="""{{!!title}}: <<now "YYYY-0MM-0DD hh12:0mmpm">>"""><$action-sendmessage $message="tm-new-tiddler" title=<<newTitle>> text="..." tags="[[$param$]]"/></$wikify></$button>\end
<<newTid param:"$(currentTiddler)$">>
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/nC5RtR1L01M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@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/390b905a-3029-4777-a2bc-47edcace9649%40googlegroups.com.