> 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"'

This approach avoids the problem of tags containing parentheses, and
should work.

One minor syntax issue: you can't use ">>" directly in the 'write'
clause, as this sequence, regardless of where it occurs, signals the
end of the macro declaration.

As per the ForEachTiddler documentation:
------------------
You may use other macro calls into the expression, especially in the
actionParameters. To avoid that the >> of such a macro call is
misinterpreted as the end of the <<forEachTiddler...>> macro you must
escape the >> of the inner macro with $)) E.g. if you want to use
<<tiddler ...>> inside the forEachTiddler macro you have to write
<<tiddler ...$)).
------------------

Thus:

write
   '{{"<<tiddler CheckboxToggleTag with: Done ToDo
[["{{tiddler.title}}"]]$))"}}+"\n"'

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

Reply via email to