*This only works in the 5.1.8 prerelease version* (and will work in future 
versions, just not the current 5.1.7 or past versions)

I think that both the StartupActions plugin (demo site 
<http://ooktech.com/jed/ExampleWikis/StartupActions/>) and the 
TriggerActions (demo site 
<http://ooktech.com/jed/ExampleWikis/TriggerActions/>) plugins are ready to 
be used. But be warned, I haven't heard that anyone other than me has 
tested either one. If you aren't careful you can use either one of these to 
completely rewrite all the tiddlers in your wiki, so back things up before 
you start experimenting. Overwriting everything in your wiki requires you 
to deliberately put in a filter like [all[]], so it shouldn't happen by 
accident, but it can happen.

The StartupActions plugin allows you to run a script using action widgets 
whenever the wiki is opened. Possibly the most obvious use of this is to 
display a modal welcome message when someone opens a wiki, but it could be 
used to reset a wiki to its default state and other things.

The TriggerActions plugin makes a daemon 
<https://en.wikipedia.org/wiki/Daemon_%28computing%29> that listens for 
changes in a list of tiddlers and when one of the tiddlers changes it 
executes a script made of action widgets. There is some quick documentation 
for this part on my site 
<http://inmysocks.tiddlyspot.com/#TriggerActions%20Plugin>.

I am not worried about the problem of people overwriting all the text in 
their wikis using this, the same thing can be done using the list widget in 
the 5.1.8 prerelease the way things are.

Go to the prerelease site <http://tiddlywiki.com/prerelease/> and try out 
the button of doom:

<$button>DOOM!!
<$list filter='[is[system]all[]][is[shadow]all[]][all[]]'>
<$action-setfield text=''/>
</$list>
</$button>

Is this considered a problem? I like having a button of doom.

-- 
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