> Goal is to create a new tiddler with the macro below, intercept the
> contents delivered from ProjectTemplate Replace all occurrences of
> Project1 with new project name from a prompt

Prompts in an evaluated parameter are problematic, as they're evaluated 
when the button is created, not when it is being clicked.
(There's a discussion on this somewhere in the group archives... )

Nevertheless, here's the basic concept:
     <<newTiddler
         text:{{
             store.getTiddlerText("ProjectTemplate", "").
                 replace("Project1", prompt("Enter project name."))
         }}
     >>


-- F.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to