branch view

Features wanted...
eil
Posts: 1869
Joined: 13 Jan 2011 19:44

Re: branch view

Post by eil »

actually branch view allows kinda "removing from list", but for that you have to not simply switch to branch view, but select folders and then switch it on = next you look to address bar and see there is a list of location/paths separated by "|", and if you delete any one of those, it will disappear from view.
the plus: it's live - if you edit file names they don't disappear like in paper-folder and everything is up to date.
the minus: such manipulations with editing address can easily spoil the "construction of view" so it's better to experiment a little to get used to this logic of exclusion, or make a proper script for saving this multi-location flat view, and possibly easier editing.
read more about this in Help file > Multi Branch View.
Win 7 SP1 x64 100% 1366x768|1900x1080

7iben
Posts: 130
Joined: 04 Apr 2019 18:22

Re: branch view

Post by 7iben »

:appl: :appl: :appl:
Sorry I only saw it now. This is really a great tip. Thanks a lot for this. Since it is difficult to find the right folder quickly in the address line, it would be great if all the selected folders in the tab were then highlighted in bold at the top of the address line.
Is that possible?
That would be an ingenious and easy way to remove folders from the Branchview.
(OS: Windows 11 Pro on Parallels ARM Virtual Machine - XY: Current x64 beta - Display: 3440x1440 @ 125%)

admin
Site Admin
Posts: 66351
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: branch view

Post by admin »

... highlighted in bold at the top of the address line? Not sure what you mean...

7iben
Posts: 130
Joined: 04 Apr 2019 18:22

Re: branch view

Post by 7iben »

Snipaste_2021-02-03_11-51-12.png
To see the attached files, you need to log into the forum.
(OS: Windows 11 Pro on Parallels ARM Virtual Machine - XY: Current x64 beta - Display: 3440x1440 @ 125%)

7iben
Posts: 130
Joined: 04 Apr 2019 18:22

Re: branch view

Post by 7iben »

So you would find it at a glance
(OS: Windows 11 Pro on Parallels ARM Virtual Machine - XY: Current x64 beta - Display: 3440x1440 @ 125%)

highend
Posts: 14953
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: branch view

Post by highend »

There is no highlighting in the address bar...

There is already an easy way to remove one / many selected root folder(s) from the current branch view.

Scripting^^
Remove selected root folders from branch view_v0.1.xys
Select the root folder(s) to remove, run the script...
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal

eil
Posts: 1869
Joined: 13 Jan 2011 19:44

Re: branch view

Post by eil »

7iben wrote: 03 Feb 2021 11:11 it would be great if all the selected folders in the tab were then highlighted in bold at the top of the address line.
not possible at the moment and most probably too much effort for just one branch view improvement.
you can make a script that takes info from address bar, makes a list of selected tabs, deletes those to match selected, sends address bar "new"(edited) variant = that is possible right now.

while i was describing, @highend created one. :D
Win 7 SP1 x64 100% 1366x768|1900x1080

highend
Posts: 14953
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: branch view

Post by highend »

You could even use that for a custom event action, e.g. middle-click on folder, to have it available right were you need it...
One of my scripts helped you out? Please donate via Paypal

7iben
Posts: 130
Joined: 04 Apr 2019 18:22

Re: branch view

Post by 7iben »

hmm if I select a folder in the branch view and then execute the script, the following happens. Maybe I'm doing something wrong
Snipaste_2021-02-03_12-15-57.png
To see the attached files, you need to log into the forum.
(OS: Windows 11 Pro on Parallels ARM Virtual Machine - XY: Current x64 beta - Display: 3440x1440 @ 125%)

highend
Posts: 14953
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: branch view

Post by highend »

I don't know what you are executing there but it isn't my script...
One of my scripts helped you out? Please donate via Paypal

7iben
Posts: 130
Joined: 04 Apr 2019 18:22

Re: branch view

Post by 7iben »

Sorry my mistake. I used it wrong.
Many Thanks. It works perfectly.
(OS: Windows 11 Pro on Parallels ARM Virtual Machine - XY: Current x64 beta - Display: 3440x1440 @ 125%)

7iben
Posts: 130
Joined: 04 Apr 2019 18:22

Re: branch view

Post by 7iben »

I noticed something else. The folders can be removed very easily. But if a folder has sub-directories, these cannot be removed from the branch view. Always only the top folder. Can the script be adjusted so that only the selected sub-folders can be removed if any are available
(OS: Windows 11 Pro on Parallels ARM Virtual Machine - XY: Current x64 beta - Display: 3440x1440 @ 125%)

highend
Posts: 14953
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: branch view

Post by highend »

While this would be possible, I won't do it.

Why? It requires a combination of the /excl= switch for the branch view and a visual (or more reliable ghost) filter.
If a folder name (not the path) exists more than one time in a branch view, all of these folders would vanish, not only the selected one (if not done via a ghost filter).
And I don't want to be responsible for those who don't know who to reset a ghost filter and aren't finding their files anymore afterwards^^
One of my scripts helped you out? Please donate via Paypal

7iben
Posts: 130
Joined: 04 Apr 2019 18:22

Re: branch view

Post by 7iben »

I've been testing it for longer now.
For example, if you have 5 folders open in Branchview, you can
unfortunately you cannot remove the top folder. Always only the folders below. If you remove the upper one, all folders are gone. I would also like to be able to remove only the top folder so that the folders below are still there. Is that possible? That would be great.
And it would be great if the last folder was removed so that you can then come back to the window in which you had selected the folders. Like closing the branch view.
(OS: Windows 11 Pro on Parallels ARM Virtual Machine - XY: Current x64 beta - Display: 3440x1440 @ 125%)

highend
Posts: 14953
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: branch view

Post by highend »

It's a branch view, there must be a root (folder)...
One of my scripts helped you out? Please donate via Paypal

Post Reply