Hi Tobias & Whatever

Things could be rather simple if fET were not (always) the tool of 
> choice. 
>

I know how to change a fET to output a custom field ie. "name".. instead of 
tiddlertitle.
How would I do that in this script?:
 

> <script> 
> var a=[],i,max=10,n=0,out='',t,tags, 
>   tids=store.getTiddlers("modified","excludeLists"); 
> for (t in tids) { 
>   tags=tids[t].tags; 
>   if (tags&&tags.contains('$1'))a.pushUnique(tids[t].title,true); 
> } 
>
> while(n<max&&a.length>0){ 
>   n++; 
>   i=Math.floor(Math.random()*a.length); 
>   out+="*[["+a[i]+"]]\n"; 
>   a.splice(i,1); 
> } 
>
> return out; 
> </script> 
>

Cheers Måns Mårtensson 

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