Hi Eric & okido,
Many thanks to have been both so much useful, especially for the 4-
digit autoNumber plugin.
I've do this :
1) A new tiddler called 'CountTiddler' containing :
<<forEachTiddler
where
'tiddler.tags.contains("myTag")'
write
'""'
end (count);
none '0'
>>
2) In an other one,
<<newJournal
tag:{{store.getTiddler("1 myTiddler").tags}}
{{config.options.txtUserName}}
title:{{ store.getTaggedTiddlers("myTag").length+1 + " myTiddler"}}
text:{{store.getTiddlerText("CountTiddler")}}
label:"new numbered tiddler"
>>
3) Plus, a Tiddler bonus 'RndTiddler' that randomize the tagged
tiddlers, usage : <<tiddler RndTiddler>> :
<script>
var tids=store.getTaggedTiddlers("myTag");
if (tids.length) return "<<tiddler RefreshPageDisplay>><<tiddler
'"+tids[Math.floor(Math.random()*tids.length)].title+"'>>";
</script>
It work like I'm expecting... comments and suggestions are welcome.
Thanks,
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---