\define getStateName()
$:/temp/TiddlerRef$(currentTiddler)$
\end
Macros can only perform text substitution for parameters and variables.
On Thursday, April 30, 2020 at 12:42:52 PM UTC+2, Tony K wrote:
>
> It shld be very basic but i can't do it
>
> I want to do
> 1. generate the link of a state tiddler
> 2. fill it with the title of the current tiddler
> 3. without "clicking" a botton (on load??)
>
>
> \define getStateName()
> $:/temp/TiddlerRef{{!!title}}
> \end
>
> Shld Generate the StateTiddler Name ??
>
> <$action-setfield $tiddler=<<getStateName>> text={!!Title}}/>
>
> it is not working
>
> can you please help ?
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/3241e01a-f2f8-44a5-9479-20735ba68274%40googlegroups.com.