Show tab group name in Lister Title?

Hi Is there a way I can have Lister Title name be equal to the tab group name i have opened in it. Basically when i have 3 Lister Instances running each with Different Tab groups, I want to see the lister title having the Tab group name. It currently would show the folder name.

Thanks

Not built-in. It could be done using scripting/events.

Can you pls point to an example of scripting/event, I will try.

Lots of examples here in the events tag: https://resource.dopus.com/tags/c/buttons-scripts/16/events

I'm not sure which the best / simplest one is, but if you search for "listertitle" you can find example scripts which use the Set LISTERTITLE command to change the titlebar:

https://resource.dopus.com/search?q=listertitle

Note the notoggle: prefix, which you'll probably want to use. The command is documented here:

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Set.htm

OnOpenLister and OnOpenTab are probably the events you'd want to use:

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Scripting/OnOpenLister.htm

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Scripting/OnOpenTab.htm

2 Likes

Hmm, looking again, I don't think the lister object tells you the current tab group, only the style and layout (if either is applicable). But we can add that in easily if it would be useful.

Sorry about that!

1 Like

Oh yes, it would be useful! :smile:

1 Like

We've added lister.tabgroupleft and .tabgroupright for the next beta.

2 Likes

I will try to write the script once beta is out. Awesome

GroupTitle.js.txt (1.2 KB)

I implemented the requested feature in the attached script. I briefly tested and it worked fine.

License is public domain for this version.