@Mat: You're right - I typed out a question but left most of the context in
my head! Apologies! Saq guessed what I wanted.
@Saq: Thank you for the code and the explanation of the else!
It might be worth adding that note about blank vs empty string as inputs to
the next step in the filters
Hi Saq,
Many thanks for clarification
So the magic is the empty string returned by else[]
Thanks again!
On Sun, Mar 21, 2021 at 4:01 PM Saq Imtiaz wrote:
> @Mohammad the underyling issue is one that I think we have discussed
> before in another context.
>
> TiddlyWiki filters distinguish
@Mohammad the underyling issue is one that I think we have discussed before
in another context.
TiddlyWiki filters distinguish between no results from a filter step, and
an empty string as a result.
When there is no result from a filter step, like with get[text] on a
non-existent tiddler, the
Saq
Thank you! works like a charm!
Would you please explain what empty else[] does here?
Best wishes
Mohammad
On Sun, Mar 21, 2021 at 12:14 PM Saq Imtiaz wrote:
> Try adding an else[] after get[text]
>
> On Sunday, March 21, 2021 at 5:51:59 AM UTC+1 Mohammad wrote:
>
>> Lovely solution
Try adding an else[] after get[text]
On Sunday, March 21, 2021 at 5:51:59 AM UTC+1 Mohammad wrote:
> Lovely solution Saq!
>
> why it does not work with a non-existent Target tiddler? how can I extend
> the code to address this issue?
>
>
> Best wishes
> Mohammad
>
>
> On Sat, Mar 20, 2021 at
Lovely solution Saq!
why it does not work with a non-existent Target tiddler? how can I extend
the code to address this issue?
Best wishes
Mohammad
On Sat, Mar 20, 2021 at 11:37 PM Saq Imtiaz wrote:
> @Diego, this is untested code but should hopefully point you in the right
> direction:
>
>
@Diego, this is untested code but should hopefully point you in the right
direction:
\define appendBoxActions()
<$action-setfield $tiddler=<> text={{{
[get[text]addsuffixaddsuffixaddsuffix{$:/temp/appendbox}]
}}}/>
<$action-setfield $tiddler="$:/temp/appendbox" text=""/>
\end
<$vars
Hi Diego.
Lot of ambiguous points in your post, but I think it should be pretty
simple once it is clear what you want:
What do you mean with "gets appended to a tiddler" - where? To the tiddlers
title? To the bottom of the tiddler? And yes it can, without a problem, "be
appended" to the
8 matches
Mail list logo