I also tried (in a slightly different tact)...
<<forEachTiddler
where
'tiddler.tags.containsAll([context.inTiddler.title, "task"])'
write
'{{"<<tiddler CheckboxToggleTag with: Done ToDo
[["{{tiddler.title}}"]]>>"}}+"\n"'
>>
but again don't have it right.
On Aug 4, 8:08 pm, Trent Jordan <[email protected]> wrote:
> Thanks Eric,
>
> This almost worked.
>
> If I just use the line:
> <<matchTags {{"<<tiddler CheckboxToggleTag with: Done ToDo %0\>\> %0"}} "\n"
> {{tiddler.title}}>>
> it works a dream. The only problem is that I have other tags and I want to
> limit it to just the "task" tagged tiddlers that also have the {{tiddler
> title}}.
>
> When I try the line:
> <<matchTags {{"<<tiddler CheckboxToggleTag with: Done ToDo %0\>\> %0"}} "\n"
> task {{tiddler.title}}>>
>
> I get the error:
>
> looking for 'task Phone call to MichaelVincent (27-Jul-09)'
> using expression: '/\~task Phone call to MichaelVincent
> \~/.test(tiddlertags) ( /\~27-Jul-09\~/.test(tiddlertags) ) '
> TypeError: /\~task Phone call to MichaelVincent \~/.test(tiddlertags) is not
> a function
>
> The actual name of the tiddler in this case is [[Phone call to
> MichaelVincent (27-Jul-09)]]
>
> Any ideas?
>
> Cheers
>
> Trent
>
> 2009/8/4 Eric Shulman <[email protected]>
>
>
>
> > > below obviously doesn't work, but hopefully you get the gist?
> > > <<matchTags {{"<<tiddler CheckboxToggleTag with: Done ToDo %0\>\>
> > > %0"}} "\n" task [[tiddler.title]]>>
>
> > You got it almost right... just change
> > [[tiddler.title]]
> > to
> > {{tiddler.title}}
> > so that it uses a computed parameter instead of a literal value of
> > "tiddler.title"
>
> > enjoy,
> > -e
> > Eric Shulman
> > TiddlyTools / ELS Design Studios
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---