Tony K

I can give more details but if you make your own new tiddler button you can 
just use  text=<<currentTiddler>> to populate the text field with the 
currentTiddler title.

Regards
Tony

On Thursday, 30 April 2020 21:33:15 UTC+10, Tony K wrote:
>
> ok i did it with a button (still testing) but it is switching to the newly 
> generated tiddler
>
> all i want is create a tiddler with the new title and fill it with the 
> title of the currenet tiddler to use it for search
>
> On Thursday, April 30, 2020 at 2:13:33 PM UTC+3, Saq Imtiaz wrote:
>>
>> 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/ff86a6b7-fcfe-4bd6-aac0-bc6c3340fd14%40googlegroups.com.

Reply via email to