Page 1 of 1

Refresh script command vs. Menu View->Refresh

Posted: 24 Jun 2025 14:23
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?

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

Posted: 26 Jun 2025 08:51
by admin
Correct, View | Refresh Tree does more than refresh "tree";. It also refreshes local shares, drives, and attributes (which can affect color filters).