Show/Reveal/Expand Selected List Folder in Tree?
Show/Reveal/Expand Selected List Folder in Tree?
As I browse files/folders in the List, once I find the folder I'm looking for, I would like to (while keeping my current list) start expanding that folder hierarchy in the Tree. But I can't find a good way to quickly reveal/select/highlight that folder in the Tree. The best thing I've found so far is to shift+double click my folder which opens it in a new tab and selects it in the Tree. However, in this case I would just close that unnecessary tab... Any ideas? Thanks!
Re: Show/Reveal/Expand Selected List Folder in Tree?
Not perfect, but at least it expands the selected folder...
Code: Select all
if (exists(<curitem>) != 2) { end true; }
perm $P_HIGHLIGHT_TREE;
$sub = listfolder(<curitem>, , 2);
$cnt = gettoken($sub, "count", "|");
$folder = <curitem>;
if ($cnt >= 1) { $folder = gettoken($sub, 1, "|"); }
if ($P_HIGHLIGHT_TREE) { highlight "", $P_HIGHLIGHT_TREE; }
$P_HIGHLIGHT_TREE = <curitem>;
showintree $folder;
highlight "FF8000", <curitem>;
One of my scripts helped you out? Please donate via Paypal
Re: Show/Reveal/Expand Selected List Folder in Tree?
How about Ctrl + Dbl Click in the tree's background, which puts the current list folder in view in the tree?
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
Re: Show/Reveal/Expand Selected List Folder in Tree?
Hi Ralph.. Cntrl-dbl click puts two identical tabs in, I'm relatively sure you meant a sngl click.
BUT, Lately I have been browsing around using the tree in a new way, and it has been the best
and most intuitive method for me I've ever used. I'm sure a lot of users here know and do this,
but I'm just slow outta the gate, as usual...
With Don's new mouse dwn 'viewer' I can just touch any tree folder to see the folders or files inside,
w/o opening the folder in the list few. If it's what I want, then with a click, I'm there. I no longer drill
down, drill back, repeat, to look around. Plus, if I a file I want to load/edit/view/run a program with,
I right click on it (in the popup list), and have all the choices to deal with it in diff ways, never having
to run around opening any folders into the list.
It's a game changer for me, and combined with the mini tree, It's fantastic.
Only thing that it doesn't do, (probably 'cause I don't know of some setting), is load a folder into a tab in
the background w/Cntl-click.. it goes current, just like Shft-click. Note this is only when clicking onto
a folder displayed on the folder preview list, not just on a tree folder by itself. Hope that makes sense...
BUT, Lately I have been browsing around using the tree in a new way, and it has been the best
and most intuitive method for me I've ever used. I'm sure a lot of users here know and do this,
but I'm just slow outta the gate, as usual...
With Don's new mouse dwn 'viewer' I can just touch any tree folder to see the folders or files inside,
w/o opening the folder in the list few. If it's what I want, then with a click, I'm there. I no longer drill
down, drill back, repeat, to look around. Plus, if I a file I want to load/edit/view/run a program with,
I right click on it (in the popup list), and have all the choices to deal with it in diff ways, never having
to run around opening any folders into the list.
It's a game changer for me, and combined with the mini tree, It's fantastic.
Only thing that it doesn't do, (probably 'cause I don't know of some setting), is load a folder into a tab in
the background w/Cntl-click.. it goes current, just like Shft-click. Note this is only when clicking onto
a folder displayed on the folder preview list, not just on a tree folder by itself. Hope that makes sense...
Re: Show/Reveal/Expand Selected List Folder in Tree?
A footnote to my post, is this is great for amateurs like me, that rely
on the mouse for most operations, I have no idea how to do what I
described using hot keys. ...But the ability now to 'peek' in folders,
whether they are in the tree structure, or in a list pane, or branch view,
and edit, or navigate there, or just load any folder I see into a tab, all without
any tedious drilling or back and forth.
The ability to actually right-click on anything in the 'popup list' and deal
with it as if I had gone to the folder first, then dealt with a file the same way,
is such a new and easy ability, it's really productive. I wanted to try and
explain this for others like me, that don't find the cool stuff easily.
I'm sure others here have much more tricks up their sleeves, or this is just
taken for granted, but wow, thanks to Don and the gang for such clever stuff
in this 'file manager'.
on the mouse for most operations, I have no idea how to do what I
described using hot keys. ...But the ability now to 'peek' in folders,
whether they are in the tree structure, or in a list pane, or branch view,
and edit, or navigate there, or just load any folder I see into a tab, all without
any tedious drilling or back and forth.
The ability to actually right-click on anything in the 'popup list' and deal
with it as if I had gone to the folder first, then dealt with a file the same way,
is such a new and easy ability, it's really productive. I wanted to try and
explain this for others like me, that don't find the cool stuff easily.
I'm sure others here have much more tricks up their sleeves, or this is just
taken for granted, but wow, thanks to Don and the gang for such clever stuff
in this 'file manager'.
Re: Show/Reveal/Expand Selected List Folder in Tree?
A footnote to my post, is this is great for amateurs like me, that rely
on the mouse for most operations, I have no idea how to do what I
described using hot keys. ...But the ability now to 'peek' in folders,
whether they are in the tree structure, or in a list pane, or branch view,
and edit, or navigate there, or just load any folder I see into a tab, all without
any tedious drilling or back and forth.
The ability to actually right-click on anything in the 'popup list' and deal
with it as if I had gone to the folder first, then dealt with a file the same way,
is such a new and easy ability, it's really productive. I wanted to try and
explain this for others like me, that don't find the cool stuff easily.
I'm sure others here have much more tricks up their sleeves, or this is just
taken for granted, but wow, thanks to Don and the gang for such clever stuff
in this 'file manager'.
on the mouse for most operations, I have no idea how to do what I
described using hot keys. ...But the ability now to 'peek' in folders,
whether they are in the tree structure, or in a list pane, or branch view,
and edit, or navigate there, or just load any folder I see into a tab, all without
any tedious drilling or back and forth.
The ability to actually right-click on anything in the 'popup list' and deal
with it as if I had gone to the folder first, then dealt with a file the same way,
is such a new and easy ability, it's really productive. I wanted to try and
explain this for others like me, that don't find the cool stuff easily.
I'm sure others here have much more tricks up their sleeves, or this is just
taken for granted, but wow, thanks to Don and the gang for such clever stuff
in this 'file manager'.
Re: Show/Reveal/Expand Selected List Folder in Tree?
great. a double post. Exactly why I'm an amateur.
Re: Show/Reveal/Expand Selected List Folder in Tree?
No, I meant Ctrl + Dbl Click but the crucial part you might have missed is "in the background" of tree, i.e. not clicking on any folder in the tree.
Shift + Click opens a new tab with the folder clicked and AFAIK I haven't changed any of the defaults in this regard but then again my ini file is very old (about 17 years) and I never had to start over completely, so some "newer" factory defaults might not have made it into my ini file.
Shift + Click opens a new tab with the folder clicked and AFAIK I haven't changed any of the defaults in this regard but then again my ini file is very old (about 17 years) and I never had to start over completely, so some "newer" factory defaults might not have made it into my ini file.
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
Re: Show/Reveal/Expand Selected List Folder in Tree?
Ralph.. I've read back in the forum many a time looking for answers, and I learned
a lot from you and 'the gang'. What a huge effort over the years for all so involved..
I've blundered my way thru so many tricks, scripts, regex helps, and it has payed off
with such a useful tool and tool kit. Now if I just remember more than around 10 hotkeys,
I'd do a lot better..
a lot from you and 'the gang'. What a huge effort over the years for all so involved..
I've blundered my way thru so many tricks, scripts, regex helps, and it has payed off
with such a useful tool and tool kit. Now if I just remember more than around 10 hotkeys,
I'd do a lot better..
-
- Posts: 2
- Joined: 20 Jan 2024 07:29
Re: Show/Reveal/Expand Selected List Folder in Tree?
I installed XYplorer (Jan 2024) and after playing with the program for a few hours I found a lot of features that I liked. The only feature that I couldn't find that i really wanted was the ability to have each tab have its own view of my files. Whenever I open/close a folder in one tab, all other tabs would show the changes, which for me makes having tabs worthless. it would be like opening up a Chrome web browser and every time you looked at content from one tab, all other tabs would show the same content. For me the pure and simple logic of having a tab is to show a unique view of the universe.
After doing several google searches i found a partial solution, and so I thought that I would share what I found on each of the following threads were others are looking for the same or similar solution that I am looking for.
Here are the threads that i found talking about each tab having its own view of my files.
2005 - Treeview & tabs
2010 - Tab folders expanding automatically
2012 - tree view doesnt stay constant for each tab
2014 - Remember tree view on a per-pane basis
2019 - Show/Reveal/Expand Selected List Folder in Tree?
In the following thread
2019 - Auto reset tree
i found a partial answer for me in the following solution.
From the menu select
Tools | Configuration | General | Tree and List | Tree | Auto-optimize tree
Check the box next to "Auto-optimize tree"
press the "Ok" button. This helps a little bit. Each tab can now have its own view of my files. The downside is that all folders are auto closed except for the one folder which I am looking at which is really frustrating as then it makes it difficult to look at files from multiple folders with in a tab.
If someone else has found a way to have each tab have its own view of my files, please let me know.
After doing several google searches i found a partial solution, and so I thought that I would share what I found on each of the following threads were others are looking for the same or similar solution that I am looking for.
Here are the threads that i found talking about each tab having its own view of my files.
2005 - Treeview & tabs
2010 - Tab folders expanding automatically
2012 - tree view doesnt stay constant for each tab
2014 - Remember tree view on a per-pane basis
2019 - Show/Reveal/Expand Selected List Folder in Tree?
In the following thread
2019 - Auto reset tree
i found a partial answer for me in the following solution.
From the menu select
Tools | Configuration | General | Tree and List | Tree | Auto-optimize tree
Check the box next to "Auto-optimize tree"
press the "Ok" button. This helps a little bit. Each tab can now have its own view of my files. The downside is that all folders are auto closed except for the one folder which I am looking at which is really frustrating as then it makes it difficult to look at files from multiple folders with in a tab.
If someone else has found a way to have each tab have its own view of my files, please let me know.
Last edited by ConfusedNerd on 20 Jan 2024 22:16, edited 2 times in total.
Re: Show/Reveal/Expand Selected List Folder in Tree?
Not sure I understand your question, you are asking about your files, but posting (the same thing) in all those multiple topics you listed, which all reference the tree, and the tree doesn't actually show files at all, anyway check out these and see if they help.
https://www.xyplorer.com/tour.php?page=fvs
https://www.xyplorer.com/release_7.50.php#fvs
Configuration | Colors and Styles | Styles | Remember list settings per tab
PS: You only need to post once, not the same post in multiple threads.
https://www.xyplorer.com/tour.php?page=fvs
https://www.xyplorer.com/release_7.50.php#fvs
Configuration | Colors and Styles | Styles | Remember list settings per tab
PS: You only need to post once, not the same post in multiple threads.