Page 1 of 1

[SOLVED] Show removable drives on Mini Tree when plugged in

Posted: 15 Mar 2017 15:48
by Leito
The USB drives I plug into my computer are not shown on the Mini Tree until I browse inside the USB drive. Is there any option to force them to show up when plugged in?

Re: Show removable drives on Mini Tree when plugged in

Posted: 15 Mar 2017 16:05
by highend
Don't use the mini tree (unlocked) that much, so I'd say USBDLM (http://www.uwe-sieber.de/usbdlm.html) and calling XY with a small script (refreshing the tree) would be an option ;)

Re: Show removable drives on Mini Tree when plugged in

Posted: 15 Mar 2017 18:03
by Leito
I should have pointed it out in my first post: I'm actually using the Mini Tree locked because I like to keep a list of my favorites folders, in a tree architecture (which the Catalogs don't offer).

But anyway, I don't think that would work because calling the "refresh tree" command on the Mini Tree (locked or unlocked) doesn't make my USB drives show up.

Re: Show removable drives on Mini Tree when plugged in

Posted: 15 Mar 2017 18:11
by highend
It wasn't the command "Refresh tree", I was just talking about refreshing the tree.

The command to send for the /script= param is

Code: Select all

loadtree "%drive%", 1;
for USBDLM

Which adds the new drive to XY's mini tree. Even the locked one.

E.g. (only the OnArrival section)!

Code: Select all

[OnArrival5]
BusType=USB
DeviceID1=USBSTOR\<blablabla>
open="D:\Users\%USERNAME%\Tools\XYplorer\XYplorer.exe" /script="::loadtree '%Drive%', 1;" /flg=2

Re: Show removable drives on Mini Tree when plugged in

Posted: 17 Mar 2017 14:33
by Leito
I'll try that but I think it would be better if the Mini Tree (locked or not) would automatically add removable drives when plugged in like the Tree does. I don't see any benefit from not doing it.

Should I ask that in the Wishes section? :)

Re: Show removable drives on Mini Tree when plugged in

Posted: 17 Mar 2017 14:39
by highend
A locked mini tree is... locked. It shouldn't add anything that is not user initiated. Why it doesn't do so on a non-locked minitree...
Don't know if this is a bug or by design. Don?

Re: Show removable drives on Mini Tree when plugged in

Posted: 17 Mar 2017 14:47
by admin
Design. The Mini Tree does not forget the drives when you unplug them, so show them once in the tree (e.g. by going there) and you have them forever.

Re: Show removable drives on Mini Tree when plugged in

Posted: 17 Mar 2017 15:18
by Leito
But when I do a Refresh (F5), those drives are removed from the Mini Tree if they're unplugged. :(

(I use F5 sometimes to see the current size of a file being copied, or just to make sure my list on a network drive is refreshed after moving files)

Re: Show removable drives on Mini Tree when plugged in

Posted: 20 Mar 2017 09:35
by admin
Did you already tick this?
Configuration | Controls and More | Miscellaneous | Allow zombies in the Mini Tree

Re: Show removable drives on Mini Tree when plugged in

Posted: 20 Mar 2017 09:56
by Leito
admin wrote:Did you already tick this?
Configuration | Controls and More | Miscellaneous | Allow zombies in the Mini Tree
Yes sir.

Re: Show removable drives on Mini Tree when plugged in

Posted: 20 Mar 2017 10:16
by admin
OK, I changed that behavior. Next version unavailable drives are not removed when refreshing a mini tree if zombies are allowed.

Re: Show removable drives on Mini Tree when plugged in

Posted: 20 Mar 2017 10:23
by Leito
Thanks!

Re: Show removable drives on Mini Tree when plugged in

Posted: 20 Mar 2017 10:37
by admin
Leito wrote:But when I do a Refresh (F5), those drives are removed from the Mini Tree if they're unplugged. :(

(I use F5 sometimes to see the current size of a file being copied, or just to make sure my list on a network drive is refreshed after moving files)
BTW, there is a cool tweak that makes F5 refresh only the list (not the tree) if the list is focused while pressing it. (If the tree is focused both Tree and List are refreshed.)

Code: Select all

RefreshListOnly=1

Re: Show removable drives on Mini Tree when plugged in

Posted: 20 Mar 2017 10:42
by Leito
Thanks Don, I'll use that in the meantime. Does it refresh the list of both panes, or only the active pane?

Re: Show removable drives on Mini Tree when plugged in

Posted: 20 Mar 2017 10:48
by admin
F5 does only the active pane (regardless of the tweak).