Jump to content

Disk Manager - V2 with source code!


James
 Share

Recommended Posts

  • Replies 130
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

No, I mean with the progress bars.

I have changed the width of the window, so it's bigger, also moved the console box to the left and fixed the GUI height correction.

Ah yes I see, my mistake.

You could add a vertical scrollbar to you window then there's no problem. I've used Garry's GuiScrollbars udf in one of my projects and it works really well. If the window can be resized you need to make a small addition to the UDF though to overcome a problem.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Thanks Emiel. I know exactly what you mean. I did try to get it to do what you are suggesting, but obvioulsy it didn't work!

Thanks for the daemon tool suggestion!

What if it was a company which has 10+ different network drives, the GUI would go off screen..

I Believe you should exclude network drives because they are not really on the computer.

You could use the following code which will display only fixed and removable

the same can be done for cdrom drives

#include  <array.au3>
$Disks = DriveGetDrive("FIXED")
$Disks2 = DriveGetDrive("REMOVABLE")
if @Error <>  1 then 
    For $i = 1 to $Disks2[0]
        _ArrayAdd($Disks, $Disks2[$i])
    Next
EndIf

Emiel

Best regards,Emiel Wieldraaijer

Link to comment
Share on other sites

You could have it display the top five folders (by size) in order of size, or have it display all of them in order of size, but something that shows what is taking up the most space would be great. This is a really cool program :)

Link to comment
Share on other sites

  • 2 weeks later...

Yeah, the biggest folder excluding WINDOWS would be cool. It would take ages to process but yeah!

Hi,

I just voted for your script and then I did another little test :D

Bug: Some Labels are behind the progressbars.

Might want to have a look for ideas here :

http://www.autoit.de/index.php?page=Thread...36716#post36716

http://www.autoit.de/index.php?page=Attach...1ba6ce05853fa44

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Thanks Val!

I am now working on it again. I just finished all work at college :D

I have added a somewhat simple function to run through the CL!

To-Do:

* Fix the sizing bug

* Add the CLI command to export to a file

* More bug fixing

* Speed up

* Import data

* More "skins"

Thanks all!

James

Link to comment
Share on other sites

So I'm having trouble with the CLI. It works when running through the console, I can run all commands I have made but I can't make it run the program if the command line hasn't bee accessed:

; Command Line Interface - Allows Disk Manager to be ran through the command line!
Func CLI()
    If $CmdLine[0] > 0 Then
        Select
            Case $CmdLine[1] == "-e"
                _ExportData()
            Case $CmdLine[1] == "-d"
                MsgBox(0, "Disk Manager", "Debug console box!")
        ; I will add a debug mode for Disk Manager!
            Case Else
                MsgBox(0, "Disk Manager", "Unknown command...")
                Exit
        EndSelect
    Else
        MsgBox(0, "Info", "No parameter --> exit", 4)
        Exit (1)
    EndIf
EndFunc ;==>CLI

Also how would I make it so ion the export command I can make it read a file:

-e dump.DMA

Edited by JamesB
Link to comment
Share on other sites

I'm not really sure why you need a command console for the program. :D But, its a really nice program, it's came along ways since last time I've been on the forum. :P I like the interface, and the colors regarding the progress bars. I havn't looked in the source yet, but if you havn't, it would be nice if you could include a temperature readout by reading the SMART hard drive sensors.

Link to comment
Share on other sites

Well, you might need to run a quick export but don't want to wait for the GUI to load... It's something I may remove when I have learnt from it :D

The interface took a while because I couldn't get the progress to be set properly and I still have to fix the underlying labels etc.

I will add that as an "Extra" option!

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...