The documentation appears to be wrong. I put together code that seems to 

\define folded-state2()
<$set name="foldme" value={{$:/temp/mytoot!!titel}}>
<$button>Fold the thing

<$action-sendmessage $message="tm-fold-tiddler" $param=<<foldme>> 
foldedState=<<folded-state2>> />


On Saturday, August 5, 2017 at 12:07:12 PM UTC-7, wrote:
> Hi,
> I'm trying to generate new tiddlers using the action-createtiddler widget 
> and fold them immediately with "tm-fold-tiddler". However, the folding 
> doesn't seem to work. This is my code, which I want to use to import 
> individual posts ("toots") from the social network Mastodon:
> \define folded-state2()
> $:/state/folded/$(foldme)$
> \end
> <$edit-text tiddler="$:/temp/mytoot" tag="input" field="titel" 
> default="Toot Title" size=30/>
> <br />
> <$edit-text tiddler="$:/temp/mytoot" tag="textarea" class="editorArea" 
> default="json toot"/>
> <$set name="foldme" value={{$:/temp/mytoot!!titel}}>
> <$button>
> <$action-createtiddler $basetitle={{$:/temp/mytoot!!titel}} tags="Toots" 
> type="application/json" $savetitle="!!toot-titel" text={{$:/temp/mytoot}}/>
> Save json toot
> <$action-sendmessage $message="tm-fold-tiddler" $param=<<foldme>> 
> foldedState=<<folded-state2>> />
> </$button>
> </$set>
> What am I doing wrong?
> Many thanks,
> Stef

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 post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to