I've spent the best part of two days working on the GUI interface and improving the source code of ProEject & I'm pretty happy with what I've achieved in such a short space of time. As you can see from the changelog it might not be a huge amount but if you do a comparison of the code before and after you'll see a huge improvement
I will probably release a Beta 3 before I go to stable with a few more tweaks and possible bug fixes. Have fun and let me know what I should improve in ProEject and even if you don't use it, at least look at the source code to get an idea of how to use AutoIt
ChangeLogGUI
-----------------------------
The GUI is an addition to ProEject and is ideal for those who use multiple USB drives on their system. It comes with a simple interface but more functionality than you would expect from such a simple GUI. By right-clicking on the drive displays an array of options, for example by selecting "Clean" you'll clean any traces of the USB drive in the registry and supported folders. If you wish to hide the GUI at anytime, then double click on the title bar to hide to the traymenu, or if you wish to show then either select "Show" from the traymenu or double click on the trayicon.
If you want the GUI to be shown when running ProEject, then create an empty file called ProEject.dat in the same directory as where ProEject is located, this will ensure the GUI is always shown allowing you to select multiple drives. Deleting ProEject.dat will return ProEject back to it's original functionality.
The following HotKeys are supported:
F5 - Refresh the GUI of connected/disconnected drives.
Enter - If the drive is selected then using the Enter key will ProEject the drive.
Code: Select all
- Added an optional GUI to ProEject a USB drive.
- Added multi-language support.
- Improvements to the source code.
- Added an 'Extra' folder with examples of how to show the GUI & Settings windows.
- Updated the ReadMe.txt file.