Scroll specific tree-item into view?
Is it already possible by relatively easy means? (out-of-the-box or scripting does not matter)
I could not find it but before I wrap my brain around the possibilities of a scripting-construct-workaround, I thought I ask whether I overlooked something or not.
Thx in advance.
Q: scroll specific tree-item into view?
-
autocart
- Posts: 1390
- Joined: 26 Sep 2013 15:22
Q: scroll specific tree-item into view?
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
admin
- Site Admin
- Posts: 66652
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
admin
- Site Admin
- Posts: 66652
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Q: scroll specific tree-item into view?
Well, I began to like the idea and added something to the next beta:
Useful! 
Code: Select all
+ Scripting got a new command.
Name: ShowInTree
Action: Show a path in the tree.
Syntax: showintree [path]
path: [optional] the path to show.
If missing the current path is shown (moved into view).
Remarks:
- Showing here can just mean to scroll the node into view. If the node
is already visible in the view then the command does nothing.
- Showing can also mean that the tree is expanded to the path if
necessary and possible.
- The path is never selected (browsed) by this command.
- If the path does not exist the existing part of it (if any) is shown.
Examples:
showintree "Desktop";
showintree "T:\Fotos\2015\";
showintree "paper:echo"; //yet unofficial but working
FAQ | XY News RSS | XY X
-
autocart
- Posts: 1390
- Joined: 26 Sep 2013 15:22
Re: Q: scroll specific tree-item into view?
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
Onlineeil
- Posts: 1888
- Joined: 13 Jan 2011 19:44
Re: Q: scroll specific tree-item into view?
Code: Select all
showintree "paper:echo"; //yet unofficial but workingWin 7 SP1 x64 100% 1366x768|1900x1080
-
admin
- Site Admin
- Posts: 66652
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Q: scroll specific tree-item into view?
In the Mini Tree, yes. This works already now, but it needs some polishing to be officially released.
FAQ | XY News RSS | XY X
-
Onlineeil
- Posts: 1888
- Joined: 13 Jan 2011 19:44
Re: Q: scroll specific tree-item into view?
strange i tried it in my current 15.80.0204 and don't see them(i use miniTree always)
Win 7 SP1 x64 100% 1366x768|1900x1080
-
admin
- Site Admin
- Posts: 66652
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Q: scroll specific tree-item into view?
After using you should see that folder. Well, if not: It's not an official feature anyway. 
Code: Select all
showintree "paper:[name]";FAQ | XY News RSS | XY X
-
autocart
- Posts: 1390
- Joined: 26 Sep 2013 15:22
Re: Q: scroll specific tree-item into view?
It works with 15.90.0014
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
autocart
- Posts: 1390
- Joined: 26 Sep 2013 15:22
Re: Q: scroll specific tree-item into view?
So far, although not official yet, die paper folder only is shown in the tree (if added by SC).
Any virtual subfolder(-links) inside the paper folder are not shown in the tree (as sub-nodes of the paper-folder).
Is this planned to come, or will the paper folder never have any sub-nodes in the tree?
I think this would be cool.
Any virtual subfolder(-links) inside the paper folder are not shown in the tree (as sub-nodes of the paper-folder).
Is this planned to come, or will the paper folder never have any sub-nodes in the tree?
I think this would be cool.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
admin
- Site Admin
- Posts: 66652
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Q: scroll specific tree-item into view?
Hmm, that was not planned, but indeed it might be cool. I think about it...
FAQ | XY News RSS | XY X
XYplorer Beta Club