Both low prio.
(1) Two pics say more than ...
Now it is like this:
I would like it to be like this:
(2) Expose the boxed state (Yes/No & Color) for a given branch to scripting.
Right now I can set a box (color) via scripting but I cannot read the value of a given branch before deciding if I want to set a box color. (Unless I go the detour via ini file, which is not pretty.)
In my case particularly I would like to always automatically box the current branch in the tree with my chosen color. Then I can better differentiate the subfolders of the current location from the rest of the tree. Well, I am doing that now already. But if I there was already some box color on a branch for some other reason, then I would like to either not overwrite it in such an exception case or else maybe restore the previous box coloring as soon as I leave that folder. But for that I have to be able to read wheter a box color has already been set before and which one.
Two wishes for boxed area in tree
Two wishes for boxed area in tree
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Two wishes for boxed area in tree
1) I like it as it is.
2) Next beta.
2) Next beta.
FAQ | XY News RSS | XY Twitter
Re: Two wishes for boxed area in tree
I assume that is why you made it that way in the first place?
But aside from aesthetics, do you see the improved logic in the new suggestion?
2) Thank you.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
Re: Two wishes for boxed area in tree
I am surprised, but happy to be of service:
In the current way, the box of the branch also covers the dotted line that goes down to the sibling branches following afterwards.
However, this dotted line is not part of the current branch. Also visually this becomes apparent because it just goes down and leaves the box without connecting to anything. (For the record, it also does not belong to the sibling branch(es) either.) That dotted line really is part of the parent branch(es) of the current branch but not of the current branch itself.
The box in its current state also kind of visually cuts off any following sibling branches from the tree.
All this mentally throws me off a little bit every time that I see it.
EDIT: The way it is now, you have to look twice to understand the relationship of the current branch and the sibling branches.
In the current way, the box of the branch also covers the dotted line that goes down to the sibling branches following afterwards.
However, this dotted line is not part of the current branch. Also visually this becomes apparent because it just goes down and leaves the box without connecting to anything. (For the record, it also does not belong to the sibling branch(es) either.) That dotted line really is part of the parent branch(es) of the current branch but not of the current branch itself.
The box in its current state also kind of visually cuts off any following sibling branches from the tree.
All this mentally throws me off a little bit every time that I see it.
EDIT: The way it is now, you have to look twice to understand the relationship of the current branch and the sibling branches.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Two wishes for boxed area in tree
Depends. To me the expansion icon is part of the branch. I only have to look once to understand the relationship of the current branch and the sibling branches.
FAQ | XY News RSS | XY Twitter
Re: Two wishes for boxed area in tree
Yea, although I hope you are aware of the fact that I was not talking about the expansion icon, just about the dotted line going directly down from it (if any).
Thank you.v22.40.0218 - 2021-11-10 12:49
+ SC get got a new named argument "box". Use it to find out whether a tree
folder is boxed and what's the background color.
Syntax: get("box", [path])
path: If missing the current tree path is used.
return: If boxed: the background color in RRGGBB
Else: nothing
Remarks:
- In dark mode it still returns the color it would have in light mode.
That's the value you can use for SC box.
- It does not return a color for a node within a box, just for the boxed
node itself.
Examples:
echo get("box"); //eg "F7F7F4"
echo get("box", "E:\XY");
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList