Minitree for corresponding Tabset?
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Minitree for corresponding Tabset?
Is there an easy way to get Tablist? I know I can use SC tab and loop over all tabs to get it, but there could be an easier solution.
I am looking to do this for loading minitrees quickly for each tabset. So everytime i load a tabset, its associated minitree is loaded.
@Don: is it possible to enhance SC loadtree such that it loads minitree for current tabset?
Even better would be to have a setting like "load corresponding minitree on tabset change".
I am looking to do this for loading minitrees quickly for each tabset. So everytime i load a tabset, its associated minitree is loaded.
@Don: is it possible to enhance SC loadtree such that it loads minitree for current tabset?
Even better would be to have a setting like "load corresponding minitree on tabset change".
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Minitree for corresponding Tabset?
Keep this wish warm and bump me later. 
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Minitree for corresponding Tabset?
Sure, I will.admin wrote:Keep this wish warm and bump me later.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Minitree for corresponding Tabset?
In v10.70.0211 you do this:

Code: Select all
loadtree <get tabs |>;FAQ | XY News RSS | XY X
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Minitree for corresponding Tabset?
Someone forgot to edit after pasting...Code: Select all
+ SC get got a new named argument "tabs". Syntax: getinfo("list_hilitefolder", [delimiter=CRLF]) [separator]: String to place between items. Defaults to CRLF (line feed). return: List of highlighted tree folders with their colors in RRGGBB. Format is identical to that used in the INI file. Example: ::text getinfo("list_hilitefolder");
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Minitree for corresponding Tabset?
Thanks! that will make it easier.admin wrote:In v10.70.0211 you do this:Code: Select all
loadtree <get tabs |>;
But I'll still bump later for the non-scripting part.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Minitree for corresponding Tabset?
Idea: Don't know about you folks, but I never use the command "Minimize Tree". I will re-write it to generate a Tree matching the active pane's tabset.
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Minitree for corresponding Tabset?
When I first tried "minimize tree", i thought it minimizes the tree to reflect all open tabs, instead of just the current tab. I like the new way better too. Thanks!admin wrote:Idea: Don't know about you folks, but I never use the command "Minimize Tree". I will re-write it to generate a Tree matching the active pane's tabset.
-
eil
- Posts: 1875
- Joined: 13 Jan 2011 19:44
Re: Minitree for corresponding Tabset?
the new appearance of this feature makes it rather useful, thanks Don!. 
Win 7 SP1 x64 100% 1366x768|1900x1080
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Minitree for corresponding Tabset?
For those interested just use this little script in your user-button to automatically switch to corresponding minitree on tabset switch.
Thanks Don! 
Code: Select all
//Choose tabset and load its minitree
tabset();
loadtree <get tabs_sf |>;
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Minitree for corresponding Tabset?
This should work as well:serendipity wrote:For those interested just use this little script in your user-button to automatically switch to corresponding minitree on tabset switch.
Thanks Don!Code: Select all
//Choose tabset and load its minitree tabset(); loadtree <get tabs_sf |>;
Code: Select all
//Choose tabset and load its minitree
tabset();
loadtree , 3;
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Minitree for corresponding Tabset?
Oh! I never read beyond <get tabs_sf |> in the change log.admin wrote:This should work as well:serendipity wrote:For those interested just use this little script in your user-button to automatically switch to corresponding minitree on tabset switch.
Thanks Don!Code: Select all
//Choose tabset and load its minitree tabset(); loadtree <get tabs_sf |>;Code: Select all
//Choose tabset and load its minitree tabset(); loadtree , 3;
Thanks!
XYplorer Beta Club