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/afcedaa9-8d21-4359-8bd5-15bd0a2415e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.