Hoist

Features wanted...
Post Reply
Dsibley
Posts: 14
Joined: 06 Dec 2018 17:12

Hoist

Post by Dsibley »

I am new and am learning the many features.

As best, I can tell there is no hoist

In other words, the tree disappears except for the focused branch that is “hoisted” to the top

The mini tree is great. This is different and I think would be useful

jupe
Posts: 2788
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Hoist

Post by jupe »

Never heard the term "hoist" used in this context but I think you want this setting:

Configuration | General | Tree and List | Tree | Auto-optimize tree

If you started using XY prior to version v19.40.0004 you may also need to set the below tweak to get it to do what I think you are describing (or as close as is possible currently).

Code: Select all

AutoOptimizeTreeRadical=1
for instructions on how to tweak:
https://www.xyplorer.com/faq-topic.php?id=tweak

Dsibley
Posts: 14
Joined: 06 Dec 2018 17:12

Re: Hoist

Post by Dsibley »

Hoist is a word used in connection with mindmaps where one node is made the “home” node with it and its children shown but no siblings or parents (or there descendants) shown.

This allows focus on a single branch without distraction of other branches, etc.

I will investigate further the auto optimize but I think that is something different

highend
Posts: 13308
Joined: 06 Feb 2011 00:33

Re: Hoist

Post by highend »

Why is the mini tree different? Load only the folders into it that you want and lock it afterwards?
One of my scripts helped you out? Please donate via Paypal

Dsibley
Posts: 14
Joined: 06 Dec 2018 17:12

Re: Hoist

Post by Dsibley »

1) mini tree shows the folders actually used recently not all the folders in the branch

2) mini tree shows some ancestors and siblings

I agree they are similar and overlap in usefulness

What I am getting at is treating a branch like a normal tree except everything else s ghosted and the parent folder chosen as the hoisted folder s like the root.

One example s the desktop is treated like the root s the other user, Windows, etc folders are ghosted

In this example, one is interested in the desktop and child folders but totally uninterested in the rest of the tree

highend
Posts: 13308
Joined: 06 Feb 2011 00:33

Re: Hoist

Post by highend »

A locked mini tree shows exactly what I load into it (via scripting).

The thing that is not possible is to define an arbitrary folder as the root (and not the drive / network path)
Which doesn't mean that this is impossible. Maybe not in the way you'd like to see it but as a local drive
letter which is the root for a branch that can be as deep (and from anywhere) as necessary.
E.g. "C:\Users\%USERNAME%\Desktop
could be displayed
as: "<some drive letter>:\"

Look at the subst command of your Windows OS...
One of my scripts helped you out? Please donate via Paypal

Dsibley
Posts: 14
Joined: 06 Dec 2018 17:12

Re: Hoist

Post by Dsibley »

Thanks.

I do think accomplishing this on any folder with the click of a button or right click would be good.

By the way, I am very happy with this software it provides me immense benefits

highend
Posts: 13308
Joined: 06 Feb 2011 00:33

Re: Hoist

Post by highend »

This is already possible...

Put it on a user defined button like this:
udb.png
udb.png (7.04 KiB) Viewed 1592 times
Download the attached script and put it in your XY script folder.
Remove the "_vx.x" at the end (the version information) from the file name afterwards.

On left click it will load the current selected folder or if no folder is selected
the current path as a locked mini tree and before it is doing this you can select
which subfolders you want to display
subfolders.png
subfolders.png (9.9 KiB) Viewed 1584 times
On right click it lets you remove existing substituted drive letters...
One of my scripts helped you out? Please donate via Paypal

Dsibley
Posts: 14
Joined: 06 Dec 2018 17:12

Re: Hoist

Post by Dsibley »

Thank you.

Nighted
Posts: 459
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: Hoist

Post by Nighted »

I was going to point out that if your icon resides at data/icons then <xydata>/ is unnecessary, then I looked at some of my own stuff and it's still there....so I grep'd all my scripts. :P
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

Post Reply