Thank You
Yes - but ..... Why does this not work: Where state titdler is generated
with "qualify 'new-tiddler'" to make it multiuser safe
\define maketid()
<$button>
<$action-sendmessage $message="tm-new-tiddler" title="$(tidlernewtitle)$"
tags="OneTag [[Another Tag]]" text=<<now "Today is DDth, MMM YYYY">>/>
New Tiddler
</$button>
\end
<$set name="statetiddler" value=<<qualify 'new-tiddler'>>>
<$edit-text tiddler=<<statetiddler>> field='newtitle' placeholder="Title"
tag="input" default=""/>
<$vars tidlernewtitle={{stateTidler!!newtitle}}>
<<maketid>>
</$vars>
</$set>
Den torsdag den 24. august 2017 kl. 15.55.50 UTC+2 skrev Mark S.:
>
> Without seeing your work, it's hard to know what's going on. This for
> instance, works:
>
> \define maketid()
> <$button>
> <$action-sendmessage $message="tm-new-tiddler" title="$(newdescription)$"
> tags="OneTag [[Another Tag]]" text=<<now "Today is DDth, MMM YYYY">>/>
> New Tiddler
> </$button>
> \end
>
> <$vars newdescription={{stateTidler!!description}}>
> <<maketid>>
> </$vars>
>
> Good luck,
> Mark
>
> On Thursday, August 24, 2017 at 5:48:54 AM UTC-7, Niels Bjerre wrote:
>>
>> I have a variable that render fine. E.g.:
>> <<*newdescription*>> render as "This is the new description"
>>
>> The newdescription is from a stateTidler: *{{stateTidler!!description}}*
>>
>> If I use the variable in a macro that creates a new tiddler (e.g.
>> $action-sendmessage)
>>
>> ==> the variable (<<*newdescription*>>) is shown as "
>> *{{stateTidler!!description}}*" in the new tiddlers field.
>>
>> I believe I have searched for help everywhere and tried everything!?
>>
>> Thanks in advance
>> Niels
>>
>>
--
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/a5f711b2-0646-433c-a074-970a1ed34fee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.