It might help to explain what you are trying to accomplish. Why do you want
to transfer the title to a text field for searching? You can already search
titles directly??
On Thursday, April 30, 2020 at 4:33:15 AM UTC-7, 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/6ce96689-c0d3-4c57-9ee8-c928184f5865%40googlegroups.com.