Thank you, this works perfectly.

Completely different question: What would I do if I wanted a 'printer-
friendly' button? Ideally it would remove the boxes around tiddlers,
removing the huge margins, and probably just leaving a horizontal rule
between each tiddler. Currently somewhere around a third of the page
goes unused.

On Apr 15, 12:04 pm, Tobias Beer <[email protected]> wrote:
> Make sure you have Eric's InlineJavascriptPlugin 
> installed:http://tiddlytools.com/#InlineJavascriptPlugin
>
> Then create a tiddler called 'taggedRecent'
> containing the following:
>
> <script>
> if('$1'!='$'+'1'){
>         var tids=
>         store.getTiddlers('modified','excludeLists').reverse();
>         for (var i=0; i<tids.length; i++){
>                 if(tids[i].tags.contains('$1')){
>                         wikify('![['+tids[i].title+']]\n'+
>                         store.getTiddlerText(tids[i].title),place);
>                         return;
>                 }
>         }
>         wikify('@@color:red;'+
>                 'No tiddler found tagging to \'$1\'!@@',place);}
>
> </script>
>
> In a tiddler of your choice, invoke the tiddler macro via transclusion
> like this:
> <<tiddler taggedRecent with: [[some Tag]]>>
>
> Related question For Eric:
> How would that be turned into a standalone transclusion without it
> wikifying the output twice?
>
> Tobias.

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