If you have a tiddler tagged with $:/tags/StartupAction and put in

<$action-setfield $tiddler='$:/SiteTitle' $field='text' $value='this 
works'/>

or

<$action-setfield $tiddler='$:/SiteTitle' $field='text' 
$value={{SomeTiddler!!SomeField}}/>

the site title will get changed to 'this works' (or whatever string is 
stored in SomeTiddler!!SomeField) when the wiki is reloaded.

If you make a macro like this (either global or in the tiddler with the 
actions listed)

\define someText()
This doesn't work
\end

and list

<$action-setfield $tiddler='$:/SiteTitle' $field='text' 
$value=<<someText>>/>

nothing happens when you reload the wiki. Looking at the widget object it 
has actionTiddler and actionField variables set correctly, but actionValue 
is undefined.

Also if you make a global macro like this

\define someMacro()
<$action-setfield $tiddler='$:/SiteTitle' $field='text' $value="this 
doesn't work"/>
\end

and put <<someMacro>> in the tiddler that lists the actions it doesn't 
trigger the action, and the widget created doesn't look like it has any 
children or attributes set.

Looking a bit closer at transcluding the full statement, it should work in 
5.1.8 when all the descendants are triggered, so that part isn't a problem.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to