I'm still trying to automatically create a new tiddler if one of the 
required title doesn't exist.  My existing code is as follows:

\define journalTiddlerName( ) $(when)$ $(project)$
\define state() $:/state/$(currentTiddler)$
\define createTodaysEntry()
<$action-createtiddler $basetitle=<<journalTiddlerName>> tags="journal 
$(project)$" project=$(project)$ description="$(description)$" />
\end

<$vars project={{!!project}} description={{!!description}} when=<<now 
DD-MMM-YYYY>> >
<$list filter="[title<journalTiddlerName>] +[is[missing]] +[limit[1]]">
<<createTodaysEntry>>
</$list>
</$vars>

While I could get the list widget to display different strings, dependent 
on whether the tiddler existed, I could not create a new tiddler.  After a 
little reading, it seems that Action Widgets need to be triggered 
specially.  Is there a simple method that I can use to trigger my 
action-createtiddler, inside of my list widget?  I don't want to have to 
press a button, when I always want to create a tiddler if it doesn't 
already exist.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c386b71b-ab72-4614-ac2f-c3c8de4fba05%40googlegroups.com.

Reply via email to