\rules only--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+...@googlegroups.com.
To post to this group, send email to tiddl...@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/1bf3a347-d63a-451f-9b78-028e67963637%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 2 Mar 2019, at 16:39, Mohammad <mohammad...@gmail.com> wrote:
Just one further question, if I have to call my macro using $macrocall widget, how can I do this?Example when I have to pass other variables as input parameter to my macro!
<$wikify name="output" text="""<pre><$text text=<<dumpvariables>>/></pre>"""><$text text={{{ [<output>split[|]join[||]] }}} /></$wikify>I think I did not correctly asked the second questions: In the below example<$wikify name="output" text="""<pre><$text text=<<dumpvariables>>/></pre>"""><$text text={{{ [<output>split[|]join[||]] }}} /></$wikify>How can I call macro using $macrocall? One use-case is where the input parameters are variable themselves.Still I need the result without wikifivation?
--Mohammad
On Saturday, March 2, 2019 at 8:50:45 PM UTC+3:30, Jeremy Ruston wrote:Hi MohammadOn 2 Mar 2019, at 16:39, Mohammad <mohammad...@gmail.com> wrote:
Just one further question, if I have to call my macro using $macrocall widget, how can I do this?Example when I have to pass other variables as input parameter to my macro!Try something like this:<$wikify name="output" text="""<$macrocall $name="datauri" title="$:/SiteTitle"/>"""><$text text={{{ [<output>split[TiddlyWiki]join[WikiTiddly]] }}} /></$wikify>Best wishesJeremy
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@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/91d06951-b76f-4b86-991d-cbffaced4028%40googlegroups.com.
\define mac()
<pre><$text text=<<regexpsub sourceText:"""$(source)$""" searchValue:$(searchValue)$ replaceValue:$(replaceValue)$ caseSensitive:$(caseSensitive)$>> /></pre>
\end
\define another-macro(.......)
<$wikify name="result" text=<<mac>> >
<$text text=<<result>>/>
...
\end
On 2 Mar 2019, at 20:23, Jeremy Ruston <jeremy...@gmail.com> wrote:I’m afraid that goes back to something we’ve discussed before: there isn’t a way to get the results of a macrocall widget into a variable without wikification: