Close child tiddler, when opened sibling from same parent

55 views
Skip to first unread message

Aigar Rogozov

unread,
Aug 3, 2017, 9:20:01 AM8/3/17
to TiddlyWiki
Hello everyone

I`m try to find solution to automatically close sibling tiddlers

For example: http://prntscr.com/g3vjx0

When I open Tiddler two, then Tiddler one must closes, there must be one tiddler what opened from Example tiddler #1, other tiddlers will leaves opened

By tags? How I can add hook, before opening tiddler, other tiddlers with same tag or tags must be closed?

In sources I saw hooks, is possible do this with macros?

<$button>
close tiddlers
<$list filter=[tag[t1]]>
<$action-sendmessage $message="tm-close-tiddler"/>
</$list>
</$button>

Maybe I`m wrong and here is solution without tags?

Thanks

Aigar Rogozov

unread,
Aug 4, 2017, 4:33:29 AM8/4/17
to TiddlyWiki
How I can exclude current tiddler with this macro?

And how I can close all tiddlers with current tiddler tags?
Reply all
Reply to author
Forward
0 new messages