*<<now>>* that you have it working, you may also want to read: [TW5] Now
date not refreshing in button
<https://groups.google.com/forum/#!topic/tiddlywiki/2xz7tcC--no/discussion>
Regards!
On Thursday, April 4, 2019 at 8:18:43 PM UTC+7, vpl wrote:
>
> And this works !!!
>
> Thanks very much for your help so accurate and responsive ...
>
> Really appreciated
>
> Regards
>
> vpl
>
> Le jeudi 4 avril 2019 15:07:51 UTC+2, Jed Carty a écrit :
>>
>> Macros are updated when they are rendered and not updated until they are
>> re-rendered. If you open the tiddler once and don't close it then your
>> setup won't re-render the button and the date value won't update. To get
>> this to update they way you want to have to put something in to force an
>> update. This should work.
>>
>> <$set name=unused value={{$:/state/SomeStateTiddler!!time}}>
>> <$button actions=<<filterbacklog>>>
>> Click me <$action-setfield $tiddler='$:/state/SomeStateTiddler'
>> $field='time' $value=<<now>>/>
>> </$button>
>> </$set>
>>
>> the big problem is that the time will be set from the previous time you
>> clicked the button, so clicking it twice in a row gets you the current time.
>>
>
--
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/2f32d441-7f15-4785-ae87-1bd8634a4270%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.