DiskManager

Discuss and share scripts and script files...
Post Reply
serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: DiskManager

Post by serendipity »

Minimax wrote:OK found another one. v4.0 this time.

Image
Well, you show in the background that XY cannot access it. If XY cannot see the file/folder my script has no way to get the folder's info.

Minimax
Posts: 93
Joined: 12 Dec 2009 15:56
Location: Switzerland

Re: DiskManager

Post by Minimax »

Well, you show in the background that XY cannot access it. If XY cannot see the file/folder my script has no way to get the folder's info.
Sure but this shouldn't lead to a script error. :wink:
Perhaps you can catch this error, show an "access denied" message dialog and fall back to the previous folder afterwards.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: DiskManager

Post by serendipity »

Minimax wrote:
Well, you show in the background that XY cannot access it. If XY cannot see the file/folder my script has no way to get the folder's info.
Sure but this shouldn't lead to a script error. :wink:
Perhaps you can catch this error, show an "access denied" message dialog and fall back to the previous folder afterwards.
Oh, i thought you expected to see the file list. Will see if i can do something.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: DiskManager

Post by SkyFrontier »

When trying to RESET "hide items less than" and "highlight size between" values to "0" I obviously pressed RESET button - then Disk Manager closed, gave closing status and when called again, those values were still non-zero.
-is it easy to implement an easy way to select colors to apply to the threshold values? Highlighting green makes it difficult to see at my CRT monitor.

Script is great - I remember the times when I spent 3-4 weeks to get a CD burning session ready for the job, being folder/file sizes the worst part to handle.
Errrr - Don, when the Time Machine will be ready, BTW...??? LOL

Wait. Something is wrong:

"Hide items less than" is set to 90 MB.
"Highlight size (%)" is set to 20/100.
My TEMP (NOT the "sysTemp/TMP", just a common one) folder is shown as 93.98 MB - and highlighted when it should not! (it's 5,99%). Above folder is "Docs and Setts" having 265.22 MB, 16,92% - correctly NOT highlighted, and following folders are highlighted as expected too (larger than 20%).
Setting "hide items" to zero still shows highlight on that folder.
Have a screenshot, if needed I can upload.

Ooops, even worse: another folder had highlighted values between 3.15-8.62%, still using above 20/100 threshold. And yes, I saw the "I changed the logic, anything in between those values will be highlighted. Thats why its not called threshold anymore." notice. Just consider the terms on the interface by themselves as a first time user.
Just an idea to keep stuff more organized: can scripters agree in creating their .ini out of the main root/default folders of XY? Something like ".\INIs", ".\Custom", ".\User" perhaps?, having a reminder on top of the "Scripts Exchange", for instance "Please set INIs to '.\INIs' folder"?

"Miseppling": "Ooops! you need atleast version...", should read "Ooops! (capital)You need at(space)least version...".
Yes - I test "everything" when I got the time... :B
Huh... one last thing... can the Settings section "Folders ONLY, etc..." stay visible when resizing window height?

Hope this helps.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: DiskManager

Post by serendipity »

SkyFrontier wrote:When trying to RESET "hide items less than" and "highlight size between" values to "0" I obviously pressed RESET button - then Disk Manager closed, gave closing status and when called again, those values were still non-zero.
-is it easy to implement an easy way to select colors to apply to the threshold values? Highlighting green makes it difficult to see at my CRT monitor.

Script is great - I remember the times when I spent 3-4 weeks to get a CD burning session ready for the job, being folder/file sizes the worst part to handle.
Errrr - Don, when the Time Machine will be ready, BTW...??? LOL

Wait. Something is wrong:

"Hide items less than" is set to 90 MB.
"Highlight size (%)" is set to 20/100.
My TEMP (NOT the "sysTemp/TMP", just a common one) folder is shown as 93.98 MB - and highlighted when it should not! (it's 5,99%). Above folder is "Docs and Setts" having 265.22 MB, 16,92% - correctly NOT highlighted, and following folders are highlighted as expected too (larger than 20%).
Setting "hide items" to zero still shows highlight on that folder.
Have a screenshot, if needed I can upload.

Ooops, even worse: another folder had highlighted values between 3.15-8.62%, still using above 20/100 threshold. And yes, I saw the "I changed the logic, anything in between those values will be highlighted. Thats why its not called threshold anymore." notice. Just consider the terms on the interface by themselves as a first time user.
Just an idea to keep stuff more organized: can scripters agree in creating their .ini out of the main root/default folders of XY? Something like ".\INIs", ".\Custom", ".\User" perhaps?, having a reminder on top of the "Scripts Exchange", for instance "Please set INIs to '.\INIs' folder"?

"Miseppling": "Ooops! you need atleast version...", should read "Ooops! (capital)You need at(space)least version...".
Yes - I test "everything" when I got the time... :B
Huh... one last thing... can the Settings section "Folders ONLY, etc..." stay visible when resizing window height?

Hope this helps.
I've been busy lately, but quickly.

1) Highlight value can be changed. See ini file for details.

2) Regarding highlight and hide thing, Do you get these problems in specific folders (Temp, Docs & sett) or any folder? I use it myself but have not seen this. Will check when i find time.
3) Ini path: You can change it in the script. Look for "$selfpath" on line #37 and change it accordingly. Eg: If you set $selfpath=C: then you will get C:\DiskManager.ini
4) Will change the spelling, thanks.
BTW you misspelled "Miseppling", it should "Misspelling" :P.

Anyway, thanks for the comments. Like I said i will look into it when i have time, no promises.

It would be useful to know your OS and language

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: DiskManager

Post by SkyFrontier »

serendipity:
BTW you misspelled "Miseppling", it should "Misspelling" :P.
...you missed the joke! LOL

OS: Win XP sp2
Language: english
Last edited by SkyFrontier on 04 Feb 2010 20:07, edited 1 time in total.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: DiskManager

Post by serendipity »

SkyFrontier wrote:
serendipity:
BTW you misspelled "Miseppling", it should "Misspelling" :P.
...you missed the joke! LOL
hmmm funny?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: DiskManager

Post by serendipity »

There was a small bug, fixed it.

DiskManager_v4.1
DiskManager_v4.1.xys
To see the attached files, you need to log into the forum.

eil
Posts: 1864
Joined: 13 Jan 2011 19:44

Re: DiskManager

Post by eil »

i can't believe this is a script.. :shock:
Win 7 SP1 x64 100% 1366x768|1900x1080

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: DiskManager

Post by serendipity »

eil wrote:i can't believe this is a script.. :shock:
Thanks! Its not perfect but it works.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: DiskManager

Post by aurumdigitus »

eil wrote:eil wrote:
i can't believe this is a script.. :shock:
Amen...

I have purchased programs that are not as good as this script! :D

Kudos and a large laurel wreath to serendipity for conjuring this opus.

kiwichick
Posts: 675
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: DiskManager

Post by kiwichick »

serendipity wrote:-you can now define screen width and height. Open script file in text editor and change values for $screenwidth and $screenheight. Default is 85%.
Hi serendipity, What a fabulous script :shock: I'm not sure the $screenwidth and $screenheight are what I'm after - I'm not even sure what I should change the values to (increase/decrease) but I would just like to increase the default window height so that, when Disk Manager opens, the options at the bottom are immediately visible and I don't have to scroll or resize the window. My laptop screen size is 1366x768.

Image 1 is the default view. Image 2 is what I would like to achieve.

Image Image

Cheers.
Windows 10 Pro 22H2

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: DiskManager

Post by serendipity »

Thanks.
In the Diskmanager.ini file reduce the table height until everything is visible.

kiwichick
Posts: 675
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: DiskManager

Post by kiwichick »

Thanks serendipity, Would that be ALL instances of tableheight or just particular ones? Cheers.
Windows 10 Pro 22H2

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: DiskManager

Post by serendipity »

kiwichick wrote:Thanks serendipity, Would that be ALL instances of tableheight or just particular ones? Cheers.
All instances as long as you dont delete the ini file, in which case it reverts to default setting.

Post Reply