This contains several questions, please be patient.



Say, there is a dictionary tiddler with title "*Fruits*" and having content.

Apple:Red
Mango:Yellow
Grapes:Purple
Watermelon:Green


I am trying to generate, on a single button click, four tiddlers with 
titles Apple, Mango, Grapes and Watermelon.

With the code
<$button>
<$list filter="[title[Fruits]indexes[]]" variable="index"> 
<$action-sendmessage $message="tm-new-tiddler" title="<<index>>"/>
Multiple Tiddlers, Yay!!
</$button>

I was able to generate drafts of 4 tiddlers with the required names. But I 
didn't want them to open for editing or appear in the storyriver - just be 
created silently.
I tried using make plugin from Tobibeer as

<$button>
<$list filter="[title[data]indexes[]sort[title]]" variable="index"> 
<$action-setfield $field=notetext $value=<<index>> />           
================> coz I read 'make' plugin won't accept anything but 
default macros. 
<$list filter="[[]make[{{!!notetext}}]]"/>
</$list>
Multiple Tiddlers, Yay!!
</$button>


| am not quite  sure I nailed that syntax. I am not even sure this is how 
to use it. 


Questions
1. The button widget attribute set/setTo which will allow you to generate a 
new tiddler silently given that no tiddler target is given and set=title is 
specified, how do I replicate the same here? Or is there some other way? I 
guess that way I can store most of my read only data in a dictionary format 
and generate tiddlers only when necessary. 
2. List filter in the above codes as "[title[Fruits]getindex[]]" returns 
absolutely nothing. If I understand correnctly, it should return the other 
side of colon, right? May I know what am I doing wrong?
3. Can there be something like "Stupid Questions Saturday" or something 
where absolute noobs can ask questions without fearing to be a botheration?







-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7565e55f-bcc5-457f-bf42-b55a6ddb15af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to