Hi
I tried the following construction to achieve this:
\define titelsetzen() [[$(titel)$]]
\define StundenTitel() $(titel)$ - $(counter)$
\define neueStunde()
<$set name="counter" value=<<calc !!counter +1>>
<$vars tagthema={{!!thema}} titel={{!!title}}>
<$button>
<$action-setfield counter=<<counter>>/>
<$action-sendmessage
$message="tm-new-tiddler"
text={{$:/MetaTabs/MusterStunde}}
thema={{!!thema}} seminar={{!!seminar}}
title=<<StundenTitel>>
source=<<titelsetzen>>
tags="Stunde"/>
neu
</$button>
</$vars>
</$set>
\end
<<neueStunde>>
Unfortunately the title I get is just " - "
Does anyone see the mistake?
Thanks Jan
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/57C758B2.8010205%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.