Ciao Bob & Jed
I find intriguing that the wikis that Bob creates seem to be aware about
Bob?
I mean, I can run a script in .\Wikis\katex\ that needs to get that from
Bob. How does that work? How does "katex" know?
As I get into the automation I'm looking at ways to minimise the amount of
typing (and errors) I make on paths. I started doing stuff like this ...
basic boilerplate, wiki-by-wiki ... (just change the value in first line
for each Wiki)
\define twName() katex
\define tidsAt() .\Wikis\$(twName)$\tiddlers\*.tid
\define sfFrom() .\Wikis\$(twName)$\output\index.html
\define sfTo() ..\..\pages\tw\tw_$(twName)$\$(twName)$.html
<$button>
Edit ''{{$:/SiteTitle}}'' Tid files
<$action-websocketmessage $type=runScript name=editpad #path=<<tidsAt>>
#instance='/newinstance'/>
</$button>
<br>at: <<tidsAt>>
<$button>
Make a ''{{$:/SiteTitle}}'' single file
<$action-websocketmessage $type='buildHTMLWiki'/>
</$button>
<br>at: <<sfFrom>>
<$button>
Copy ''{{$:/SiteTitle}}'' single file to new home
<$action-websocketmessage $type=runScript name=copySFwiki
#from=<<sfFrom>> #to=<<sfTo>> />
</$button>
<br>copy: <<sfFrom>>
<br>to: <<sfTo>>
<$button>
Start HTTrack
<$action-websocketmessage $type='runScript' name='htwhack'/>
</$button>
The scripts are ...
But I'm not so sure its the most efficient way because there is something
about shared knowledge between Bob and the plebeian Wiki's I maybe not
properly grasping?
Hope this is clear enough?
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/3f66497c-7fd2-4024-b117-074c9c6d953e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.