Hello Diego!
Thanks for the link! It is very close to what I want!
Lets give it a try! 

Best
Mohammad

On Friday, August 10, 2018 at 11:27:12 PM UTC+4:30, Diego Mesa wrote:
>
> Hey Mohammad,
>
> Just letting you know of Evan's excellent Condition Plugin:
>
> http://evanbalster.com/tiddlywiki/formulas.html#Condition%20Plugin
>
> which does that
>
> On Friday, August 10, 2018 at 1:34:04 PM UTC-5, Mohammad wrote:
>>
>> Wow! 
>> Thank you Mark!
>> It works and do the job like a charm!
>> For action command like create tiddler I call the macro using a button!
>>
>> Much appreciated!
>>
>> Mark, one more question is it possible to have a decision making 
>> structure like below:
>>
>> If true-this
>>  macro-action-if-part
>> else
>>   macro-action-else-part
>> end if
>>
>> Then the header of macro should be something like 
>> \define dcm(cond, ifpart-action, elsepart-action)
>>
>> For checking the condition parameter to see if true or false, the setVars 
>> widget from Tobias Beer may be useful! If not we can first check the 
>> condition outside the macro and send the result (true/false) to it.
>>
>>
>> Cheers
>> Mohammad
>>
>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0da1181d-70fb-4a24-ad71-d70a5230eafb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to