Hi Stephan, That's cool!
> This is the bookmarklet location to use: > > javascript:void((function()%7B%0Avar%20filter%20%3D%20prompt( > 'Please%20st%20the%20filter'%2C'%5B!is%5Bshadow%5D!is%5Bsystem%5D%5D')%3B% > 0A%0Avar%20sizes%20%3D%20%5B%5D%3B%0A%0A%24tw.utils.each(%24tw.wiki. > filterTiddlers(filter)%2C%0A%20%20%20%20function(tiddler)%7B%0A%20%20%20% > 20%20%20%20%20var%20size%20%3D%200%2C%0A%20%20%20%20%20%20%20%20%20%20%20% > 20t%20%3D%20%24tw.wiki.getTiddler(tiddler)%3B%0A%20%20%20%20%20%20%20% > 20sizes.push(%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%3Atiddler%2C% > 0A%20%20%20%20%20%20%20%20%20%20%20%20size%3A%24tw.wiki.getTiddlerAsJson( > tiddler).length.toString()%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20fields > %3AObject.keys(t.fields).length%2C%0A%20%20%20%20%20%20%20%20%20%20%20% > 20type%3At.fields%5B'type'%5D%20%7C%7C%20''%0A%20%20%20%20%20%20%20%20%7D > )%3B%0A%20%20%20%20%7D%0A)%0Asizes.sort(function(a%2C%20b)%20%7B%20return% > 20b.size%20-%20a.size%3B%7D)%3B%0A%0Avar%20out%20%3D%20''%3B%0A%24tw.utils > .each(sizes%2C%0A%20%20%20%20function%20(t)%7B%0A%20%20%20%20%20%20%20% > 20out%20%2B%3D%20%0A%20%20%20%20%20%20%20%20%20%20%20%20t.size%20%2B%20 > '%20%5B%5B'%20%2B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20t.title%20%2B% > 20'%5D%5D%2C%20'%20%2B%0A%20%20%20%20%20%20%20%20%20%20%20%20t.fields%20% > 2B%20'%20fields'%20%2B%0A%20%20%20%20%20%20%20%20%20%20%20%20(t.type%20%3F > %20'%2C%20'%20%2B%20t.type%20%3A%20'')%20%2B%20'%5Cn'%3B%0A%20%20%20%20%7D > %0A)%0A%0Avar%20story%20%3D%20%22%24%3A%2FStoryList%22%2C%0A%20%20temp%20% > 3D%20%22%24%3A%2Ftemp%2Ftiddler-sizes%22%2C%0A%20%20list%20%3D%20%24tw. > wiki.getTiddlerList(story)%3B%0A%0A%24tw.wiki.addTiddler(%0A%20%20%20% > 20new%20%24tw.Tiddler(%7B%0A%20%20%20%20%20%20%20%20title%3A%20temp%2C%0A% > 20%20%20%20%20%20%20%20text%3A%20'%22%22%22%5Cn'%20%2B%20out%20%2B%20 > '%22%22%22'%0A%20%20%20%20%7D)%0A)%3B%0A%0Aif(list.indexOf(temp)%20%3D%3D% > 3D%20-1)%20%7B%0A%09list.unshift(temp)%3B%0A%7D%0A%0A%24tw.wiki.addTiddler > (new%20%24tw.Tiddler(%0A%09%7Btitle%3A%20story%7D%2C%0A%09%24tw.wiki. > getTiddler(story)%2C%0A%09%7Blist%3A%20list%7D%0A))%3B%0A%7D)())%3B > > It's mainly your code with just one prompt for the filter added. > > Create a new bookmark, paste the code above into the location and you have > your bookmarklet. > Now, to the interesting bit: What was your workflow to produce it? ^^ Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

