load a var from a tiddler -

<$vars myvar=<<atiddler>>>


then you have to use the edit-text widget 

<$edit-text tiddler="atiddler"/>

and this causes a refresh, which will update the value of 'myvar'




all the best
BJ
On Wednesday, November 1, 2017 at 4:07:15 PM UTC+1, Aigars Rogozovs wrote:
>
> Hello
>
> I`m trying to add couple of tiddlers by one click
>
> I want to write text and with click it add tiddlers
>
> This code add for me tiddlers, but with constant name:
>
> <$set name=var_title value=This data must be taked from Input">
> <$set name=var_title_LV value="""$(var_title)$_LV""">
> <$set name=var_title_RU value="""$(var_title)$_RU""">
>
> <$set name=var_title_text value="""<<reftabs "[[$(var_title_LV)$]] 
> [[$(var_title_RU)$]]" "$(var_title_LV)$" "$:/state/tab0">>""">
>
> <$button>
>
> <$action-sendmessage $message="tm-new-tiddler" title=<<var_title>> text=<
> <var_title_text>>/>
>
> <$action-sendmessage $message="tm-new-tiddler" title=<<var_title_LV>> 
> text=<<var_title_LV>> tabcaption="LV"/>
>
> <$action-sendmessage $message="tm-new-tiddler" title=<<var_title_RU>> 
> text=<<var_title_RU>> tabcaption="RU"/>
>
> <<var_title>>
>
> </$button>
>
> </$set>
> </$set>
> </$set>
> </$set>
>
> I must use <$edit-text/> for input?
>
> How it can be used to set variable?
>
> A.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/77a6c58c-59aa-46ea-8874-a3ce76910234%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to