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
--
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/db690513-dd26-42a1-a20f-bd1aaa790bc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.