Hello,

This button will overwrite an existing tiddler. How do I make sure that if 
the tiddler already exists it is numbered? If "Tiddler1" already exists, it 
becomes "Tiddler2".


\define BUTTON-NAME() Enter >
\define BUTTON-COLOR+SIZE() btn btn-link btn-sm
\define BUTTON-TEXT-COLOR() color:
\define TIDDLER-TITLE() $(currentTiddler)$ SPECIFIC
\define TIDDLER-TEMPLATE() {{||$(currentTiddler)$-SPECIFIC-TEMPLATE}}


<$button type="button" class=<<BUTTON-COLOR+SIZE>>>
<$set name=mytags filter="[subfilter{!!tiddler-tag-button}]">

<$action-sendmessage $message="tm-new-tiddler"
title=<<TIDDLER-TITLE>>
text=<<TIDDLER-TEMPLATE>>
load-description-button="{{||Description-button}}"
tags=<<mytags>>/>
</$set>
<span style=<<BUTTON-TEXT-COLOR>>><<BUTTON-NAME>></span>
</$button>
<<mybutton>>


Thank you,

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bdeebeea-0ecd-47be-8fd3-1ed7a5b4e5e8n%40googlegroups.com.

Reply via email to