Brilliant! thank you Eric!

<:-)

On Tuesday, May 5, 2015 at 4:25:48 PM UTC+2, Eric Shulman wrote:
>
> On Tuesday, May 5, 2015 at 7:18:36 AM UTC-7, Mat wrote:
>>
>> I'm beginning to understand that the tricky bit is to have the 
>> link-widget "to" attribute accept a compound argument (i.e $:/ and 
>> <<currentTiddler>>) - is this at all possible?
>>
>
> You can use a macro to assemble the "compound argument"... and, because 
> <<currentTiddler>> is a TiddlyWiki *variable*, you can apply text 
> substitution inside the macro using $(currentTiddler)$, like this:
>
> \define whereto()
> $:/$(currentTiddler)$
> \end
>
> <$link to=<<whereto>>>●</$link>
>
> Note that, in the macro, the "$:/" is literal text, while the 
> $(currentTiddler)$ portion is the subtitution syntax.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
>
> YOUR DONATIONS ARE VERY IMPORTANT!
> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
>    http://TiddlyTools.github.com/fundraising.html#MakeADonation
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5379cade-e275-40d6-a67d-e5efdafffd3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to