Hello,
This is my first attempt at writing a Macro. I have exported name, params and run. The run works fine for simple stuff like just returning a piece of string. Now I am trying to elaborate the run function. I want to get all the content of the tiddler and get a list of headings, images, links in the tiddler. How can I do that?
After browsing through a lot of code I figured out that this.wiki.getTiddler(this.getVariable("currentTiddler")) will get me the tiddler and this.wiki.getTiddlerText(this.getVariable("currentTiddler")) will get the text but when I call the 2nd one it seems as if this goes into a recurisve loop by trying to evaluate the macro everytimr the getTiddlerText function is called.
Is there a way to get the information about the Tiddler and use it in a Macro?
Thanks,
Milind