Dave,

The Quickest and easiest way to do I is to have a button appear when the 
tiddler is opened, via a view template entry. Yes you will have to click it.

Perhaps http://inmysocks.tiddlyspot.com/#TriggerActions%20Plugin can do It, 
I am not sure.

I have wanted something similar but was told we have to make a change in 
the navigation mechanism, which is not so strait forward, and is likely to 
have a performance impact.

I have managed to get an action on close by adding an action to the Close 
button, But the Close all (page Button) will bypass it, and close all does 
not ”know" which tiddler your are using.

*Another way*

You could build your own tiddler, that contains a custom button that not 
only sets the field as you wish, but also opens the target for view or 
edit. As long as you click on that button to open the target tiddler you 
can get what ever actions you want to happen inside the definition of that 
button.

Perhaps a tiddler containing the Button could be added to  ($:/tags/AboveStory 
for elements to be placed at the top of the story river)

Even better would be a way to add a field to any tiddler eg; 
on-open-action, then a special tiddler/Menu will list all such tiddlers, 
and provide a button which on click will transclude the on-open-action 
field in that button (and execute it on click), this is speculations on my 
part.

*Basically what I am saying is if you provide a convenient way to open a 
tiddler in the first place you can determine what also Happens when opening 
it. It is not so easy to try and trap the opening of any tiddler, and 
respond with actions when a specific tiddler is opened. However their may 
be a hack no one has though of yet.*

Regards
Tony


On Thursday, November 29, 2018 at 12:23:08 PM UTC+11, Dave wrote:
>
> I'd like to have that action happen when one specific tiddler opens.  I 
> can put that tiddler in the default tiddlers, but also open in other 
> situations.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5ab2c136-14dc-423b-b18c-2d1082faa16f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to