At the moment the "record-comment" macro allows to creates a log-entry
every minute. This is accomplished with the <<now>> macro.
The macro can be found in the test-filter tiddler.
\define record-comment()
<$action-setfield $tiddler=<<currentTiddler>> $index=<<now "YYYY-0MM-0DD,
0hh:0mm">> $value={{!!comment}}/>
<$action-setfield $tiddler=<<currentTiddler>> $field=comment $value="--"/>
\end
if you want to have 1 second granularity just change the second line to
\define record-comment()
<$action-setfield $tiddler=<<currentTiddler>> $index=<<now "YYYY-0MM-0DD,
0hh:0mm*:0ss*">> $value={{!!comment}}/>
<$action-setfield $tiddler=<<currentTiddler>> $field=comment $value="--"/>
\end
If you want to keep the comment just delete the 3rd line. like so:
\define record-comment()
<$action-setfield $tiddler=<<currentTiddler>> $index=<<now "YYYY-0MM-0DD,
0hh:0mm">> $value={{!!comment}}/>
\end
have fun!
mario
--
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/d1e63b8f-af7f-4d3d-94e8-6472b3ecadcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.