Thank you Eric for clear code and a very useful explanation!
I have it working in my TW.
Best wishes
Josiah
Eric Shulman wrote:
>
>
> This should do what you want:
> <$edit-text tag="input" tiddler="$:/temp/getname" default="" />
> <$button> Click me!
> <$wikify name="target"
> text="$:/long/address/to/tiddler/{{$:/temp/getname}}">
> <$action-sendmessage $message="tm-new-tiddler" $param=<<target>>
> tags="searcher"
> caption={{$:/temp/getname}} text={{$:/some/tiddler}}/>
> </$wikify>
> </$button>
>
> 1) an $edit-text widget gets the user input and puts it in a temporary
> tiddler "$:/temp/getname"
> 2) the $wikify widget is used to combine static text with the value from
> the temporary tiddler
> 3) the value of the resulting "target" variable is used as the $param for
> the new tiddler title
> 4) the value from the temporary tiddler is also used as the caption text
> for the new tiddler
>
> Q.E.D.
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/e3a7646d-9e71-4e28-8562-e810c09c93cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.