Hi,

I'd like to initialize two fields in a state tiddler at startup with the 
current year and month :

field "year", value : <<now "YYYY">>
field "month", value : <<now "0MM">>

It's for a calendar macro I'm working on. I'd like the calendar macro to 
display the current mont of the current year in a tab of the sidebar when 
opening my TW.

I was tempted to use a default tiddler with some  <$action-setfield .../>
But actionwidgets are only triggered by a button tiddler or some other 
trigger widget, so it's not possible this way.


I've heard about startup modules. Do I need to write one (for such a simple 
thing), and what are the guidelines ? Or is there a simpler way ?


Any advice welcome !

Tahhanks 

FrD

-- 
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/63255572-6cc3-4c82-91c2-fb6e8758e81e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to