Hi, I searched for this and found a similar thread, but it was about TWC, 
so here goes:

I have this macro that makes a new tiddler based on a template tiddler when 
you click on an icon:


\define newRaceTags()
[[$(currentTiddler)$]]
\end

\define newRace()
<$button class=<<tv-config-toolbar-class>>>
<$action-sendmessage
  $message="tm-new-tiddler"
$param="race template"
title="$(currentTiddler)$ -"
  tags=<<newRaceTags>> />
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{swimmerIcon}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text="new race"/></span>
</$list>
</$button>
\end


How do I make it create it and open it in view mode instead of edit mode?

I tried searching for "tm-new-tiddler" at tiddlywiki.com, but didn't find 
anything that helped.

-- 
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/98a352f0-cf09-469d-bc47-92c8206a3e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to