> 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