Refresh script command vs. Menu View->Refresh

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Nuno
Posts: 104
Joined: 12 Sep 2008 22:19
Location: Portugal

Refresh script command vs. Menu View->Refresh

Post by Nuno »

Sometimes I get spurious drive letters after inserting USB drives. I get around it by refreshing the tree and have tried to do it using a CEA mini-script.
I found out that it works just fine if I use something like

Code: Select all

wait 1000; #482
Where #482 is the code for the Refresh Tree menu command (F4)

If, however, I use something like the following, the spurious drive letter is not cleared and the status bar does not appear to momentarily show the "refreshing tree..." text

Code: Select all

wait 1000; refresh "tree"
Are #482 and "refresh tree" supposed to act differently?

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

Re: Refresh script command vs. Menu View->Refresh

Post by admin »

Correct, View | Refresh Tree does more than refresh "tree";. It also refreshes local shares, drives, and attributes (which can affect color filters).

Post Reply