Hi Christian,

maybe something like the following does the trick?

\define actions()
<$action-sendmessage $message="tm-new-tiddler" tags=" [[JournalEntry]] 
[[$(currentDateTime)$]] " />

<$button class=<<tv-config-toolbar-class>> tooltip="New Journal Entry">{{$:
<$set name="currentDateTime" value=<<now "0DD. 0MM. YYYY">>>

I'm attempting to create a new tiddler with the button below:
> <$button class=<<tv-config-toolbar-class>> tooltip="New Journal 
> Entry">{{$:/core/images/file}}
> <$action-sendmessage $message="tm-new-tiddler" tags=" [[JournalEntry]] 
> <<now 0DD.0MM.YYYY>> " />
> </$button> 
> The first tag is created without any incident. However, the second tag 
> doesn't It gets passed as a literal string, pehaps obviously, ending up 
> with the unwanted tags:
>    - "<< now" and
>    - "0DD.0MM.YYYY>>"
> How can I pass todays date in the format <<now 0DD.0MM.YYY>>?

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 view this discussion on the web visit 

Reply via email to