[tw] Re: [TW5] Concatenate two or more fields for title of new tiddler?

2017-05-09 Thread Mat
As I understand it, one can say It "evaluates" the text and saves the result. ("Text" here refers to the input to the WikifyWidget, not to the tiddlers text field) My typical scenaro is trying to do something with e.g the SetWidget only to literally (and annoyingly) get, say, {{!!title}} when I

[tw] Re: [TW5] Concatenate two or more fields for title of new tiddler?

2017-05-09 Thread Gordan Nia
Thanks for another solution! Frankly, I've never used WikifyWidget and I'm not quite sure about its use, although I've read the WikifyWidget introduction. As far as I understand, it seems to me that WikifyWidget is used to save some textual content in the variable, or? -- You received this me

[tw] Re: [TW5] Concatenate two or more fields for title of new tiddler?

2017-05-08 Thread Mat
Hi Gordan IMO the following is more understandable \define concatenate() {{!!date}} - {{!!othertxt}} <$wikify name="newtitle" text=<> > <$button> <$action-sendmessage $message="tm-new-tiddler" title=<> /> New Tiddler The wikify can optionally be outside the button or inside. <:-) --

[tw] Re: [TW5] Concatenate two or more fields for title of new tiddler?

2017-05-08 Thread Gordan Nia
Thanks for the comprehensive answer, now I have a much clearer understanding of TW concept. I was hoping that would be much simpler, but in the end I concluded that I had to solve it in a similar way, for example: \define Concatenate() $(first)$ - $(second)$ \end ... <$set name=first value={{!

[tw] Re: [TW5] Concatenate two or more fields for title of new tiddler?

2017-05-08 Thread 'Mark S.' via TiddlyWiki
Whenever you're thinking of concatenating transclusions from fields or tiddlers, you're probably going to need a macro. Technically all that TW5 macros actually do is concatenate/substitute text. There are different ways of doing this. Sometimes you might set a local variable. In this case I m