On Thursday, April 23, 2015 at 2:23:12 AM UTC-7, Shash wrote:
>
> On Thursday, April 23, 2015 at 2:16:40 PM UTC+5:30, Mark Brown wrote:
>>
>> check out http://tiddlywiki.com/#now%20Macro%20(Examples)
>> that help? 
>>
>
> Yes Thanks. It does help. But how to use it to update a field in the 
> tiddler with this button
>

Use the <$action-setfield> widget, like this:

<$button>
   <$action-setfield timestamp=<<now "YY.0MM.0DD.0hh0mm0ss">>/>
   click me!
</$button> 

"timestamp" is the target fieldname in the current tiddler and 
"YY.0MM.0DD.0hh0mm0ss" is the date format to save.  You can change these to 
suit your specific purposes.  If you want to write a field in a tiddler 
other than the current tiddler, add $tiddler="NameOfTiddler" as another 
parameter of the <$action-setfield> widget.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/559d1baf-1707-4cf6-b91e-063627bebf0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to