Bump,

No answer, so just started some further experimentation.

Its quite easy to build the text that would form a set of macro 
definitions. A single button could write this to a tiddler with the tag 
$:/tags/Macro

\define append-text(tiddlername totiddlername)
<$list filter="[[$tiddlername$]get[text]]" variable=line>
  \define :<<line>>() {{<<line>>}}<br>
</$list>
\end
<<append-text Fromtid totid>>


Notice how I am considering creating macros with a leading: semi-colon.

Any other ideas?

Regards
Tony


On Friday, October 12, 2018 at 12:44:22 PM UTC+11, TonyM wrote:
>
> Folks,
>
> In a related endeavour to my post also today is there any method by which 
> I can Programmatically generate of macros?
>
> For example if a had a set of tiddlers prefixed $:/macrotranscludes/
>
> eg {{$:/macrotranscludes/action-no}} containing something to do when 
> "action-no" etc..
>
> could I in some way "Dynamically" list and define the tiddlers such that 
> the following macro's were generated and active?
>
> \define action-no() {{$:/macrotranscludes/action-no}}
> \define tiddler2() {{$:/macrotranscludes/tiddler2}}
> \define tiddler3() {{$:/macrotranscludes/tiddler3}}
>
> Thanks in advance
> Tony
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/cb0a8a07-9922-4750-9839-2a65d8b51756%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to