Page 1 of 1
Q: scroll specific tree-item into view?
Posted: 05 Nov 2015 09:22
by autocart
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.
Re: Q: scroll specific tree-item into view?
Posted: 06 Nov 2015 19:50
by admin
Use the scrollbar?

Re: Q: scroll specific tree-item into view?
Posted: 06 Nov 2015 21:01
by admin
Well, I began to like the idea and added something to the next beta:
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
Useful!

Re: Q: scroll specific tree-item into view?
Posted: 06 Nov 2015 21:24
by autocart
Re: Q: scroll specific tree-item into view?
Posted: 07 Nov 2015 15:21
by eil
Code: Select all
showintree "paper:echo"; //yet unofficial but working
does this mean paper-folders will be appearing in tree?
Re: Q: scroll specific tree-item into view?
Posted: 07 Nov 2015 16:14
by admin
In the Mini Tree, yes. This works already now, but it needs some polishing to be officially released.
Re: Q: scroll specific tree-item into view?
Posted: 07 Nov 2015 18:39
by eil
strange i tried it in my current 15.80.0204 and don't see them(i use miniTree always)
Re: Q: scroll specific tree-item into view?
Posted: 07 Nov 2015 20:01
by admin
After using
you should see that folder. Well, if not: It's not an official feature anyway.

Re: Q: scroll specific tree-item into view?
Posted: 07 Nov 2015 20:22
by autocart
It works with 15.90.0014
Re: Q: scroll specific tree-item into view?
Posted: 09 Nov 2015 13:59
by autocart
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.
Re: Q: scroll specific tree-item into view?
Posted: 09 Nov 2015 14:08
by admin
Hmm, that was not planned, but indeed it might be cool. I think about it...