Something like: (6 lines, 5 var, 1 return)

<script>
        var projects= store.getTaggedTiddlers("TaskTabs").length.toString();
        var tasks= store.getTaggedTiddlers("Task").length.toString();
        var urgent= store.getMatchingTiddlers("Urgent && !
Completed").length.toString();
        var pending= store.getMatchingTiddlers("Task && !Urgent && !
Completed").length.toString();
        var completed=
store.getTaggedTiddlers("Completed").length.toString();
return ("Status: " + projects + " Projects, " + tasks + " Tasks (" +
urgent + " Urgent, " + pending + " Pending, " + completed + "
Completed) ");
</script>

Mike

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