Custom button to toggle Show Folder Sizes
Custom button to toggle Show Folder Sizes
Hi there
I'm one of those folk with a huge folder that takes ages to update whenever this function is on and although I want to see subfolder sizes every so often, most of the time I don't, because I move subfolders in and out very regularly.
I have read about the ability to make this tab-specific, but all I am looking for is to create my own button/script that will disable Show Folder Sizes and if possible toggle off/on.
I also know about the right click options on Calculate Folder Sizes button but it won't work both ways i.e. turn on and off without me having to key ESC to stop the process.
Could whatever script that is associated with the ESC function be used for the button?
Many thanks for your help!
I'm one of those folk with a huge folder that takes ages to update whenever this function is on and although I want to see subfolder sizes every so often, most of the time I don't, because I move subfolders in and out very regularly.
I have read about the ability to make this tab-specific, but all I am looking for is to create my own button/script that will disable Show Folder Sizes and if possible toggle off/on.
I also know about the right click options on Calculate Folder Sizes button but it won't work both ways i.e. turn on and off without me having to key ESC to stop the process.
Could whatever script that is associated with the ESC function be used for the button?
Many thanks for your help!
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Custom button to toggle Show Folder Sizes
So you want a button that does the same as toggling this menu command:
View | Show Items | Show Folders in List
And on turning it off, any running calculation shall be stopped.
Sounds good to me. Gonna look for an icon...
View | Show Items | Show Folders in List
And on turning it off, any running calculation shall be stopped.
Sounds good to me. Gonna look for an icon...
FAQ | XY News RSS | XY Twitter
Re: Custom button to toggle Show Folder Sizes
folder size == pizza slice !?
Got a crazy programmer here (or perhaps a lyrically-inclined one ) !
[ed]
Got a crazy programmer here (or perhaps a lyrically-inclined one ) !
[ed]
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Custom button to toggle Show Folder Sizes
Hmm, not really, I still want to see all the folders, but like you said, any running calculation shall be stoppedadmin wrote:So you want a button that does the same as toggling this menu command:
View | Show Items | Show Folders in List
And on turning it off, any running calculation shall be stopped.
Sounds good to me. Gonna look for an icon...
Re: Custom button to toggle Show Folder Sizes
Yes I know that but it's so annoying every time I key the Back button and it starts calculating again.admin wrote:Press ESC, easy.
If I could just disable it with a button that's all I want to do.
Re: Custom button to toggle Show Folder Sizes
Don, I don't get it. A pizza icon? You have coffee in XYplorer and now pizza. Where's the tea, beer, and bratwurst?!
Joking aside, I think one day it would be nice to have a way to temporarily cache folder sizes without having to rely on scripting. Basically making it built-in.
Joking aside, I think one day it would be nice to have a way to temporarily cache folder sizes without having to rely on scripting. Basically making it built-in.
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Custom button to toggle Show Folder Sizes
You want a button that stops any current and future calculation but leave the current folder size values vsible in the list?zoso69 wrote:Yes I know that but it's so annoying every time I key the Back button and it starts calculating again.admin wrote:Press ESC, easy.
If I could just disable it with a button that's all I want to do.
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Custom button to toggle Show Folder Sizes
Okay, let me think...Enternal wrote:Joking aside, I think one day it would be nice to have a way to temporarily cache folder sizes without having to rely on scripting. Basically making it built-in.
- we need a setting to "Enable Folder Size Caching"
- we need a command to refresh the folder sizes for the current view (if we want fresh values)
EDIT: #487 View | Calculate Folder Sizes (Shift+F5) -- serves well here!
- we maybe need a command to reset the whole folder size cache
- might make sense to color the cached sizes in the list to show they are not live (might need a way to customize that color)
- by "temporarily" you mean during the session? I could also make it across sessions (new file foldersizes.dat)
Anything else?
FAQ | XY News RSS | XY Twitter
Re: Custom button to toggle Show Folder Sizes
Menu + sc()- we need a command to refresh the folder sizes for the current view (if we want fresh values)
Don't forget to make it plain textnew file foldersizes.dat
One of my scripts helped you out? Please donate via Paypal
Re: Custom button to toggle Show Folder Sizes
^ What highend said
But yeah, by "temporarily" I meant per session. I would not mind if it is across sessions too as long as it's not hard to implement
But yeah, by "temporarily" I meant per session. I would not mind if it is across sessions too as long as it's not hard to implement
Re: Custom button to toggle Show Folder Sizes
Just noticed you've added it to the beta - thanks ever so much for doing that!
Re: Custom button to toggle Show Folder Sizes
Code: Select all
v16.70.0002 - 2016-05-04 21:08
+ Folder Size Caching
Gotta Cache Em' All! Does this deserve a toolbar button or a place in the top menus for easy access?
Re: Custom button to toggle Show Folder Sizes
Folder size caching works beautifully - most useful when moving back and forward, no more recalculating unless I want to!
I agree re button, nice icon ;-)
Thanks ever so much.
I agree re button, nice icon ;-)
Thanks ever so much.
Re: Custom button to toggle Show Folder Sizes
I like to have the current folder size AND the Branch view size displayed and clearly labeled AT ALL TIMES.
That is number of files - bytes and same info for hidden files.
As for drive size info and GB free - that is pure un-needed drivel that serves no real purpose.
We all hopefully know where we are and how much memory is involved. (We are not M$ so why deal in useless info)
Knowing about the current folder and branch may help catching errors.
pat
That is number of files - bytes and same info for hidden files.
As for drive size info and GB free - that is pure un-needed drivel that serves no real purpose.
We all hopefully know where we are and how much memory is involved. (We are not M$ so why deal in useless info)
Knowing about the current folder and branch may help catching errors.
pat