Hi guys
The code at the bottom for an editortoolbar didn’t work. From the tiddler ‘New tiddler’, I want it to paste 4 macros, like this:
<<viewme tid:"New tiddler sources">><br><<viewme tid:"New tiddler output">><br><<viewme tid:"New tiddler defdescr">><br><<viewme tid:"New tiddler outline">><br>
Here is my attempt at coming up with a solution without bothering you guys first:
\define giffpre() <<viewme tid:"
\define giffpost() ">><br>
\define giffsuffix1() -sources
\define giffsuffix2() -output
\define giffsuffix3() -defdescr
\define giffsuffix4() -outline
\define addcurrent() $(realTarget)$
<$set name="realTarget" value={{{[<targetTiddler>get[draft.of]]}}}>
<$action-sendmessage
$message="tm-edit-text-operation"
$param="replace-selection"
text={{{ [<giffpre><addcurrent><giffsuffix1><giffpost><giffpre><addcurrent><giffsuffix2><giffpost><giffpre><addcurrent><giffsuffix3><giffpost><giffpre><addcurrent><giffsuffix4><giffpost>] }}}
suffix=""
/>
</$set>
What is the simplest way to do this?