action widgets cannot be called without some user input, e.g. a button or
checkbox etc. Perhaps describe in more detail what you are trying to
achieve.
On Thursday, April 30, 2020 at 1:11:04 PM UTC+2, Tony K wrote:
>
> Hello Saq
>
> how to call it without clicking a button?
>
> On Thursday, April 30, 2020 at 2:07:57 PM UTC+3, Saq Imtiaz wrote:
>>
>> \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/57196edd-4315-433e-ad4a-a91b701a9b0c%40googlegroups.com.