Why my action-setfield is not executed ?

46 views
Skip to first unread message

vpl

unread,
Apr 27, 2021, 4:40:12 AM4/27/21
to TiddlyWiki
Hi guys

A stupid question but I don't understand what the rational behind this ...
When I create a basic tiddler with this code the "todel" field is set (even not created)
I've tried to specify the $tiddler as <<currentTiddler>> but that does not work ..

Thanks very much for any help ..

Regards

\define macro_init()
Hello guy
<$action-setfield  $tiddler=<<currentTiddler>> $field="todel" $value="init_value"/>
\end

<<macro_init>>

Saq Imtiaz

unread,
Apr 27, 2021, 5:20:43 AM4/27/21
to TiddlyWiki
Action widgets are only invoked when triggered by triggering widgets such as the Button Widget. That is, it takes user interaction to make changes to tiddlers.

Saq Imtiaz

unread,
Apr 27, 2021, 5:21:10 AM4/27/21
to TiddlyWiki

vpl

unread,
Apr 27, 2021, 5:29:30 AM4/27/21
to TiddlyWiki
Thanks a lot for your quick answer

Regards

Reply all
Reply to author
Forward
0 new messages