Ciao BTC
Very useful to see. Thanks!
I do see a more complex situation where I could need that and not just
"set".
Best wishes, J
BurningTreeC wrote:
>
> \define get-wiki-path()
> C:\\bag\\PortableApps\\twMU\\pages\\tw\\tw_$(wikiName)$\\index.html
> \end
> \define actions()
>
Mark S.
That is good.
I delayed replying till I tested it with the buttons of automate (some
quite complex) properly.
It works well without adding too much code.
Thankyou! J.
Mark S. wrote:
>
> So does
>
>
> Not work?
> \define sfTo() ..\..\pages\tw\tw_$(twName)$\
>
>
> <$set name=twName
in simple german: I can set multiple variables with the vars widget, but if
I need one of those variables in another one, I need another vars widget
within the scope of the one that defines the variable I need for the second
one.
--
You received this message because you are subscribed to the
>
> Hi,
> You only need 1 !!! vars widget. Have closer look at the docs.
>
Hi @pmario - that's apparently NOT true
from the docs: "The content of the <$vars> widget is the scope for the
value assigned to the variable."
testing with one vars widget results in the wikiName variable not defined
Hi,
You only need 1 !!! vars widget. Have closer look at the docs.
-m
--
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.
\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=<>>
<$button>
<>
set
--
You
@TiddlyTweeter ,
That string where you want to transclude that tiddler text - is it in a BOB
config file?
--
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
Josiah,
I see no reference in this discussion to using the wikify widget rather
than set to lock the text value into the wikify defined variable.
Perhaps that would help
Regards
Tony
On Monday, June 4, 2018 at 12:28:28 AM UTC+10, @TiddlyTweeter wrote:
>
> I need to get the literal text of a
So does
\define sfTo() ..\..\pages\tw\tw_$(twName)$\
<$set name=twName value={{$:/PerryMason}}>
<$button>
Make a ''<>'' single file
<$action-websocketmessage $type='buildHTMLWiki' outputFolder=<>
outputName="index.html" />
Not work?
-- Mark
On Sunday, June 3, 2018 at 12:50:49 PM
It is in a single tiddler with several other buttons that just vary
slightly. Its a Tiddler from which I "Automate" the wiki using Bob commands.
On Sunday, 3 June 2018 20:35:05 UTC+2, Mark S. wrote:
>
> Where does this button appear? In a template, or a single launch tiddler?
>
> More
Where does this button appear? In a template, or a single launch tiddler?
More importantly, why not wrap a <$set name=twName value={{$:/PerryMason}}>
around the button (deleting macro twName of course) ?
Good luck!
-- Mark
On Sunday, June 3, 2018 at 11:01:47 AM UTC-7, @TiddlyTweeter wrote:
>
Ciao wjam
How would I get the output of that into a global macro/variable ?
Any tips appreciated
Josiah
On Sunday, 3 June 2018 17:59:34 UTC+2, wjam wrote:
>
> you can use the wikify widget where
>
> text='<$view tiddler="your tiddler" field="text"/>'
>
> wjam
>
>
--
You received this message
Mark
Footnote ... the "c:\\ is" an apport of error checking in node/Bob. Its not
actually the console achieving anything.
Internally I think node based systems use "\\" to "escape" in paths. When
things run well you never see it.
J.
Mark S. wrote:
>
> Where is this "path: 'c:\\'"
I imagine this relates to invoking commands from Bob, which I haven't
studied. Where is this "path: 'c:\\'" structure located? Is it in a
regular tiddler?
If it really needs to be hard-coded text, then I think you would need a
button that would trigger actions that would create the actual
Mark S. wrote:
>
> I think you need to explain more about your use case.
>
You are right. The difficulty *IS* explaining it.
Transclusion is so sophisticated in TW many don't realise that that when
you create macro/variables you are transferring the "transclusion code"
into it, not the value,
you can use the wikify widget where
text='<$view tiddler="your tiddler" field="text"/>'
wjam
--
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
I think you need to explain more about your use case.
You could just create a global macro:
\define perry() {{HelloThere!!text}}
and then use <> anywhere. But I suspect you're trying to do
something with the text.
Good luck!
-- Mark
On Sunday, June 3, 2018 at 7:28:28 AM UTC-7, @TiddlyTweeter
Ciao Diego
Looks part the way there. But I need get the (literal text) value "Paul
Drake" into a Global Macro <> for use elsewhere. As far as I grasp
$set use is limited to its context? Excuse my ignorance if I'm wrong.
J.
On Sunday, 3 June 2018 16:52:56 UTC+2, Diego Mesa wrote:
>
> Hello
Hello Josiah,
On Tiddlywki.com if you type:
<$set name="perry" tiddler="HelloThere" field="text">
hello! <>
You get the literal text of the tiddler HelloThere. Is this what you mean?
On Sunday, June 3, 2018 at 9:28:28 AM UTC-5, @TiddlyTweeter wrote:
>
> I need to get the literal text of a
19 matches
Mail list logo