text='<$view tiddler="your tiddler" field="text"/>'
wjam
I think you need to explain more about your use case.
You could just create a global macro:
\define perry() {{HelloThere!!text}}
path: 'C:\\bag\\PortableApps\\twMU\\pages\\tw\\tw_{{$:\\HelloThere!!text}}\\index.html'
I will try layout a more detailed example and be as clear as I can. But I think this starts to illustrates the issue I hope.
Thanks
Josiah
\define twName() Paul Drake
\define sfTo() ..\..\pages\tw\tw_$(twName)$\
<$button>
Make a ''<<twName>>'' single file
<$action-websocketmessage $type='buildHTMLWiki' outputFolder=<<sfTo>> outputName="index.html" />
</$button>
Build Wiki
Built Wiki: C:\bag\PortableApps\twMU\pages\tw\tw_Paul Drake\index.html
\define sfTo() ..\..\pages\tw\tw_$(twName)$\
<$set name=twName value={{$:/PerryMason}}>
<$button>
Make a ''<<twName>>'' single file
<$action-websocketmessage $type='buildHTMLWiki' outputFolder=<<sfTo>> outputName="index.html" />
</$button>
</$set>
\define get-wiki-path()C:\\bag\\PortableApps\\twMU\\pages\\tw\\tw_$(wikiName)$\\index.html\end\define actions()<$action-setfield $tiddler="ma-tiddla" $index="path" $value="""$(wikiPath)$"""/>\end
<$vars wikiName={{tiddlerwithwikiname}}><$vars wikiPath=<<get-wiki-path>>><$button><<actions>>set</$button></$vars></$vars>
Hi,You only need 1 !!! vars widget. Have closer look at the docs.
<$vars>
widget is the scope for the value assigned to the variable."-m
So does
Not work?