Hi,
There is a forEachtiddler function in the story prototype [2].
And a short script, to demonstrate, how it works [1]
<script label="click me">
var text = '';
story.forEachTiddler(function(title, tiddler){
text += title + '\n';
});
return '\n\n' + text;
</script>
have fun!
mario
http://hoster.peermore.com/recipes/TeamWork/tiddlers.wiki#StoryForEachTiddlerTest
http://tiddlywiki.org/wiki/Dev:Story.forEachTiddler
On Sep 3, 7:32 pm, skye riquelme <[email protected]> wrote:
> Hi All
>
> The title could sound rather esoteric.....actually its a simple code
> question.
>
> I have some code sitting in a widened MainMenu (at left) that is
> similiar to Erics QuickNote plugin....input into some html boxes,
> press "Pass GO" and it creates a new tiddler...out of thin air!!!!!
>
> What I want is to be able to have this new tiddler automatically
> linked to the tiddler that is currently open in the display
> window ........so do I have something store.getTiddlerTitle
> (current.mainwindow.tiddler) that I can add into the "var tags ="
> calculation under the "Pass GO" botton.
>
> Thanks in Advance
> Skye
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.