I always use DO in List mode, and I have the preference "Calculate Folder Sizes automatically..." UNCHECKED.
I have the button (which AFAIR is a DO default button) Folder Size.
<?xml version="1.0"?>
Folder Size
Check Folder sizes
#DOpusVista:folderproperties
Set VIEW=List,Details
... Now, the tip tells me "Check Folder sizes", so I thought, allthough I have the size calculations OFF by default, perhaps this button can be used as a One-Time-Only operation, but clicking the button does nothing more than would you would expect from the instructions.
... Now, onto my actual question : Is it possible to keep my current preference to NOT calculate folders by default, but having a button that will do this action only once (only when the button is clicked), so it changes to List,Details view, and will calculate the (sub)foldersizes just this one time, while leaving the preference "Calculate Folder Sizes automatically" OFF for normal operation ?
You must have made/edited that button yourself as it has the icon from the Folder Properties command, a tooltip which suggests it gets the sizes, and a command that doesn't' get the sizes but instead toggles between List and Details modes.
Try the Get Sizes button instead. Just type that into the filter at the bottom of the Customize -> Commands tab and drag it to your toolbar to get the correct command.
I have to combine both button codes, so it reads :
Set VIEW=List,Details
Select ALLDIRS
GetSizes
Is there any instruction so that, when I click the Getsizes button again, it will de-highlight ALL folders (selected by the button) and re-highlight the one that was highlighted before i activated this altered "GetSizes" button please ?
If no folders are selected, GetSizes will get the sizes of all folders.
If some folders are selected, GetSizes will only get their sizes. (So that you don't have to waste time waiting for calculation of folders you don't care about.)
I little thing I find, after clicking the button :
Set VIEW=List,Details
Select ALLDIRS
GetSizes
... When I click the column button to sort by size, it doesn't sort the folders, only the files, is that normal behaviour please ?
Thanks for the tip John,
I didn't know that this checkmark would prevent functions like sorting by size temporarily.
My default config is List mode, with normal sorting by filename.
When I click the "Get Sizes" button, which contains :
Set VIEW=List,Details
Select ALLDIRS
GetSizes
Set SORTBY=size
With the "Keep folders sorted alphabetically" checked,
I cannot use the sortby=size function so that it will show the biggest subfolders sorted first,
When I push the button again (button becomes unhighlighted), it switches back to List mode, but it doesn't return to my default sort by filename method. I need to browse to some other folder, and then return for it to return to the default set sort order (filename).
So, All I would like the "Get Sizes" button to do is :
When pressed (activate) =
Switch to details mode
Select ALLDIRS
Get sizes
Sort by size, with the biggest on top
When pressed again (deactivate) =
Switch back to the default mode for the folder set in Folder Options. (List mode, sort by Name)
Could this be possible by altering the button please ?
Sorry for being such a pain in the ***.
EDIT: I got DO crashing (reproducible) , when I alter the button code to :
Set VIEW=List,Details
Select ALLDIRS
GetSizes
Set SORTBY=size,desc