Mat

The idea is it uses the one macro with a tag name to locate the actions to 
apply. Adding an action to any existing button requires you taging a tiddler 
containing the additional actions.

The key is that any number of action tiddlers can be used on any button. Any 
single action can be used on any nUmberto of buttons. 

In the demo, a log action tiddler is tagged with all buttons custom action tag. 
As a result every button is using the additional action.

if a simlar solution is placed in the standard distribution, you do not need to 
modify core tiddlers to add custom actions. just place a tag on your custom 
actions. This allows multiple macros and plugins to use this mechanisium 
without clash.

Building your own buttons and other widgets with actions you can use the same 
mechanism. Rather than hard code actions use the tag mechanisium.

With tags you can add and remove them. You can have a run once by using an 
action tiddler that removes its own tag. You could even have a chain of such 
actions.

Does that help?

Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0701e442-f272-4b19-8fa8-63f1d9735782%40googlegroups.com.

Reply via email to