Macros don't update without an outside trigger. The contents of a button, 
once rendered, don't necessarily update each time you click the button.

One difference between widgets and macros is that widget are able to 
trigger their own refresh cycles and update their result without needing 
other intervention, macros determine their output when they are rendered 
and don't re-render without some outside influence.

One way to get around your problem is to wrap the button in a widget that 
would re-render itself when there is an update from the button, another way 
is to include a widget that updates after the button is pressed inside the 
button. Both of those will cause the button to be re-rendered after it is 
used.

In your case the the title of the newly created tiddler is stored in the 
tiddler $:/temp/saveTid, which changes an attribute of the action-setfield 
widget and triggers a refresh. But I suspect that the timestamp will be 
from the previous time you clicked the button, not from when you click the 
button now, because the button hasn't refreshed since the last time you 
clicked it.

I don't remember what the solution to this one is.

-- 
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/7d2388ba-d87f-49cb-8ec0-b32eee74d6df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to