Wow, it worked! Thanks, Eric, for your kind help.
Cheers, octw On 9月5日, 下午1時39分, Eric Shulman <elsdes...@gmail.com> wrote: > > 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 tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.