I am attempting to create a macro that, in part, sets a system tiddler state based on behaviour.
While the basics are achievable, I need to create a different system tiddler in each instance where the macro is used. This will depend on two elements: - The tiddler that the macro is used in, and - The tiddler that the macro transcludes Now, within the macro, I can use the following line: <$text text=<<currentTiddler>>/> This will output the name of the tiddler the macro is used within. However, I need to use currentTiddler in the name of the system tiddler path. In effect, where *t* is the name of the transcluded tiddler, I want to set: <$set name="controller" value="$:/state/$currentTiddler$/section/$t$"> But, in this case, *$currentTiddler$* isn't resolved. It doesn't matter if I write it as *<<currentTiddler>>* instead. How am I supposed to get the name of currentTiddler to resolve into my controller path? -- 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/fe201c21-e506-4cf8-a114-eb21d7279851%40googlegroups.com.

