Hello everyone, I'm trying to make a button that will take the generated
contents of the following and put it in the text field of my plugin tiddler and
then leave it in edit mode. So far it just puts the literal text and not the
generated content. I thought it would be possible but any suggestions would be
appreciated.
$:/plugins/ajh/plugintools/list
{ "tiddlers": { <$list
filter="""[list[$:/plugins/ajh/plugintools/list]butlast[]]""">"<$text
text=<<currentTiddler>>/>": <$text text=<<jsontiddler>>/>,<br></$list><$list
filter="""[list[$:/plugins/ajh/plugintools/list]last[]]""">"<$text
text=<<currentTiddler>>/>": <$text text=<<jsontiddler>>/></$list> } }
$:/plugins/ajh/plugintools/sidebar
<$set name=mylist value={{$:/plugins/ajh/plugintools/list}}>
<$button>
<$action-setfield $tiddler="$:/plugins/ajh/plugintools/plugin" text=<<mylist>>
dependents={{$:/plugins/ajh/plugintools/list!!list}}/>
<$action-sendmessage $message="tm-edit-tiddler"
$param="$:/plugins/ajh/plugintools/plugin"/>
Pack Plugin
</$button>
</$set>
--
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/016c8e83-ceae-4f1b-b180-e254eeb1bab8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.