Eric,
>> and it works just fine to use the transclusion in the macro syntax.
# You are absolutely right.
# There are edge cases where things don't work as expected
# My brain can't remember what the edge cases are
# Since debugging the source of the error takes longer than writing the
code,
On Monday, July 18, 2016 at 4:11:14 PM UTC-7, c pa wrote:
>
> Yes. the shortcut macro call method does not allow you to pass evaluated
> parameters. You need to use the long form macro call method
> <> does not work
> <$macrocall $name="Make_Something" thing={{$:/isms/tmp/NewISMSElement!!
>
Hans,
Yes. the shortcut macro call method does not allow you to pass evaluated
parameters. You need to use the long form macro call method
<> does not work
<$macrocall $name="Make_Something" thing={{$:/isms/tmp/NewISMSElement!!
name_base}} /> will work
--
You received this message because
c pa, thanks for your help. This seems to do nearly what I need. But it's
the point, that I have an input-field <$edit-text
tiddler='$:/isms/tmp/NewISMSElement' field='name_base'
class='tc-edit-texteditor'/> and when I use
<>
it doesn't recognise the text of the input, it uses "{{$}". So
Try something like the following:
\define Do_Some_Buttons(item_one, item_two)
<$list filter="[all[$item_one$$item_two$]is[tiddler]]" emptyMessage="""
Button to create tiddler named "$item_one$$item_two$"
""">
Hey it exists already
\end
\define Make_Something(text)
Really? Wow, I'm trying for almost 4 days to do this with filtering. I'm
looking forward for your hints :)
--
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
That is possible using list widgets and some filtering. I will get back to
you about this later because I just found out that the person I lined up to
watch my dog while I am in England can't help me and I need to get that
taken care of.
--
You received this message because you are subscribed
Ok, I think you're right. I try to explain what I want to do ^^
I want an input-field where I type in a string like "B 2.5 some text bla".
This whole string has to be splitted into "B2.5" (so just the first two
parts without space) and all the rest "some text bla".
If there is NO tiddler with
Macros work by text substitution, so it probably isn't something you can do
directly. If what you want to do is possible than you can probably do it in
a much simpler way, but you can't use a macro that uses widgets in a filter
like that.
--
You received this message because you are
thanks guys, this helped me till the next problem ^^
\define basename() {{$:/isms/tmp/NewISMSElement!!name_base}}
\define elementid()
<$macrocall $name="macroGetElementID" fullName=$(basename)$/>
\end
\define elementtitle()
<$macrocall $name="macroGetElementTitle" fullName=$(basename)$/>
\end
Unfortunately, I've never found it possible to pass a macro with a
parameter inside another widget . You need to wrap it in a wrapper so the
parameter is hidden. This worked for me, but I don't have your test data,
or know how you're planning to use the results:
\define baseElem() <$macrocall
Hi Hans
> how do i give the variable "basename" to the inner macrocall inside the
> second/nested set??
You’ll have to use an inner macro that composes the arguments to getElementByID
using text substitution:
\define inner()
<$set name="elementID" value=<> >
...
\end
<$set name="basename"
ok, one last question
how do i give the variable "basename" to the inner macrocall inside the
second/nested set??
<$set name="basename" value={{$:/isms/tmp/NewISMSElement!!name_base}}>
<$set name="elementID" value=<> >> >
--
You received this message because you are subscribed to the
Great, thanks Jeremy
--
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.
To post to this group, send email to
Hi Hans
There’s one syntax problem that jumps out: you just need single curly braces
inside the list filter:
Titel: <$edit-text tiddler='$:/tmp/NewISMSElement' field='name_base'
class='tc-edit-texteditor'/>
<$list filter="[{$:/tmp/NewISMSElement!!name_base}has[created]]"><$button
>
> Why does this not work? I enter in the edit-field a tiddler name that
surely exists
Titel: <$edit-text tiddler='$:/tmp/NewISMSElement' field='name_base' class=
'tc-edit-texteditor'/>
<$list filter="[{{$:/tmp/NewISMSElement!!name_base}}has[created]]"><$button
to=HelloThere>...click
--
Hi Hans,
On Friday, July 1, 2016 at 12:20:03 PM UTC+2, Hans Maulwurf wrote:
>
> The title says it. I want to use the reveal widget to show/hide a button
> when a tiddler is there or not. Best would be if the tiddlername could be
> in a variable.
>
Imo the reveal widget can't do it, since it
17 matches
Mail list logo