Hi Eric,
 Thanks for clarification!
Still I am confused when I should use <<var>>, <<__par__>> and when $(var)$ 
and $par$.

I followed your code on http://tiddlytools.com/filtergenerators.html and 
solved the issue in my last post
but with your explanation here, it seems I need a parsed value when I work 
with asynchronous .

I have collected some notes from forum to understand how to work with these 
vars and pars.

See TW-Scripts below (one is yours)

https://kookma.github.io/TW-Scripts/#Variables%2C%20Fields%20and%20Filters%20in%20TiddlyWiki:%5B%5BVariables%2C%20Fields%20and%20Filters%20in%20TiddlyWiki%5D%5D%20%5B%5BVariables%20vs.%20Parameters%5D%5D

Still not fluent in coding when I encounter such cases!

--Mohammad


On Friday, December 27, 2019 at 7:36:47 PM UTC+3:30, Eric Shulman wrote:
>
> On Friday, December 27, 2019 at 7:04:58 AM UTC-8, Mohammad wrote:
>>
>> It seems when I use <<ufilter>> tm-download-file does not work but for 
>> $(uifilter)$ it works!!
>>
>
> just a guess, but... I think that tm-download-file is processed 
> asynchronously.
>
> Thus, when using <<ufilter>>, the variable is not defined when the message 
> is processed
> but using $(ufilter)$ it is replaced by it's value when the message is 
> sent, so that it's value
> it available when the message is processed.
>
> I've run into similar issues when using tm-modal, which is also 
> asynchronous.
>
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d31b616f-662c-4fb7-a38c-ad27686cd0e8%40googlegroups.com.

Reply via email to