Jed Carty wrote:
> ... There is a tiddler called $:/WikiName that has the name of the current
> wiki that is used by the back-end, so you can just transclude that instead
> of defining it in the macro.
>
Thanks for info on $:/WikiName. That I, with some help from Mark S., is
working well in child Wiki.
And the buildHTMLWiki message can take outputFolder and outputName
Good tip. I think there is a bug in it. It creates wiki fine where you want
them but it seems to ignore "outputName" example ...
\define sfTo() ..\..\..\..\pages\tw\tw_$(twName)$
<$set name=twName value={{$:/WikiName}}>
<$button>
''Make a <<twName>>'' single file
<$action-websocketmessage $type='buildHTMLWiki' outputFolder=<<sfTo>>
outputName='PerryMason.html' />
</$button>
</$set>
Result is file is still named "index.html" ...
Build Wiki
Built Wiki: C:\bag\pages\tw\tw_katex\index.html
Best wishes
Josiah
--
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 post to this group, send email to [email protected].
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/7aa6e732-14e0-46be-bc6b-14cf16eb2c9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.