> Currently I have a "newTiddler" button like this:
> <<option txtNewProject>>
> <<clickify newTiddler
> label:"AddNewProject"
> title:{{config.options.txtNewProject}}
> text:{{store.getTiddlerText("ProjectPanel")}}
> >>
> text in "ProjectPanel" is something like this:
> <<tabs chkTodoThings
> Todo "Things todo" "@@@@@@@@/Todos"
> OK "Things finished" "@@@@@@@@/Done"
...
> I'm wondering if it is possible to automate the process, transferring
> the value of "txtNewProject" to replace those "@@@@@@@@"s?
You can add a .replace(pattern,text) function to this macro param:
text:{{store.getTiddlerText("ProjectPanel").replace(/@@@@@@@@/
g,config.options.txtNewProject)}}
enjoy,
-e
--
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.