From: Eric Shulman <elsdes...@gmail.com>
Date: Sat, 10 Nov 2012 05:15:25 -0800 (PST)
Local: Sat, Nov 10 2012 8:15 am
Subject: Re: Inserting the variable of another Tiddler content into a Macro...or using a macro in a macro....
> The saveStoryButton will be placed on the Menu. The advantage theExcept for changing the storyname, it's not clear to me what advantage
> newTiddlerPlugin compared to saveStory would be, that it is possible to
> created the new StoryTiddler in editMode with the focus set on the
> title, to make the users change the storyname immediately. I would even
> like bette to have a prompt saying " insert a name for your new tiddler
there is in opening the newly created story tiddler in edit mode...
and, you *can* use <<saveStory>> to "prompt for tiddlername" with the
<<saveStory ask "label" "helptext" tag tag tag...>>
Note also that your approach -- generating a <<newTiddler>> macro --
Fortunately, there is a solution for this type of problem:
For your purposes, you can completely skip the <<forEachTiddler>>
Something like this:
defines an empty output variable, then appends tiddlers titles, and
then references that output variable as the last statement processed
within the code, so that the resulting list of titles is "returned" as
the parameter value.
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
Professional TiddlyWiki Consulting Services...
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.