Shop Forum More Submit  Join Login
USBDrive by jsmorley USBDrive by jsmorley
Skin to display and control a USB drive. Simply edit the .ini to change the variable "Drive=" to your desired drive letter and refresh.

Left click will browse the device in Windows Explorer, middle click will safely eject the device using the included USB Disk Ejector utility from here: [link]

Requires the latest Rainmeter 2.2 r1078 beta or better available at [link]
Add a Comment:
 
:iconstevenkain:
stevenkain Featured By Owner May 7, 2018
This is nice, however it is impractical to configure one for each drive letter. What if a new USB stick is loaded with a new drive letter? It would be useful to have it detect any drive other than the ones loaded with the PC, or even better, the ones connected trough a USB port.
Reply
:iconragingwasabi:
Ragingwasabi Featured By Owner Nov 23, 2015  Hobbyist Artist
wow the program is exactly what ive been looking for! thanks for uploading!
Reply
:iconafmalakai:
afmalakai Featured By Owner Aug 4, 2013
To make the utility disappear when the usb isnt connect do the following:
-Add Hidden=1 to the following Meters:
---MeterDriveLetter
---MeterRemoved
---MeterDriveImage
---MeterBack

Ex:
[MeterBack]
Meter=Image
W=224
H=26
SolidColor=0,0,0,1
Hidden=1

-Now go to the lua script and replace all the SKIN:Bang under the if statement with:
SKIN:Bang('!SetOption MeterDriveImage ImageTint 170,170,170,255')
SKIN:Bang('!SetOption MeterDriveLetter FontColor 170,170,170,255')
SKIN:Bang('!SetOption MeterDriveImage ToolTipText ""')
SKIN:Bang('!HideMeter MeterDriveBarBack')
SKIN:Bang('!HideMeter MeterDriveBar')
SKIN:Bang('!HideMeter MeterPercent')
SKIN:Bang('!HideMeter MeterRemoved')
SKIN:Bang('!HideMeter MeterDriveLetter')
SKIN:Bang('!HideMeter MeterDriveImage')

-Finally replace all the SKIN:Bangs under the else with this:
SKIN:Bang('!SetOption MeterDriveImage ImageTint '..sImageTint)
SKIN:Bang('!SetOption MeterDriveLetter FontColor '..sFontColor)
SKIN:Bang('!SetOption MeterDriveImage ToolTipText \"Total Space:  '..round(iTotal,2)..' GB#CRLF#Free Space:  '..round(iFree,2)..' GB#CRLF#Used Space:  '..round(iUsed,2)..' GB#CRLF##CRLF#Left click to browse#CRLF#Middle click to eject\"')
SKIN:Bang('!ShowMeter MeterDriveBarBack')
SKIN:Bang('!ShowMeter MeterDriveBar')
SKIN:Bang('!ShowMeter MeterTrueCrypt')
SKIN:Bang('!ShowMeter MeterPercent')
SKIN:Bang('!ShowMeter MeterBack')
SKIN:Bang('!ShowMeter MeterDriveLetter')
SKIN:Bang('!ShowMeter MeterDriveImage')
SKIN:Bang('!HideMeter MeterRemoved')

save both documents and refresh your skin


Reply
:iconthewetnoodle:
TheWetNoodle Featured By Owner Aug 13, 2012
Same question from me - is there a way to make this utility appear only when a USB drive is connected?

I'm basically just repeating other people's questions in the hope that you'll get tired of the notifications and decide to answer us.

Neat little utility!

Cheers
Reply
:iconpigrocket:
pigrocket Featured By Owner Jun 13, 2012  Hobbyist Digital Artist
I have the same question as DeusInDaemone and aust00. But this skin is very sexy.
Reply
:icondeusindaemone:
DeusInDaemone Featured By Owner Feb 22, 2012
great, but I have same question as ~aust00
Reply
:iconeternal-creativity:
Eternal-Creativity Featured By Owner Feb 10, 2012  Hobbyist General Artist
Would be nice if you could make one for multiple drives mate - in this day and age we often use more than one :)
Reply
:iconjsmorley:
jsmorley Featured By Owner Feb 10, 2012
You can just create two or more of the skins...

C:\Users\YourName\My Documents\Rainmeter\Skins
-- USBDrives\
--- DriveF\
---- DriveF.ini
--- DriveG\
---- DriveG.ini

Just change the drive letter being managed in each, and load the ones you want.
Reply
:iconaust00:
aust00 Featured By Owner Dec 18, 2011
great work! btw, any way to make it completely invisible skin when no usb device is connected?
Reply
:icondrkdna:
DrKDnA Featured By Owner Dec 14, 2011  Hobbyist Interface Designer
I'm liking this :D nice work.
Reply
:iconsnowbull:
SnoWbull Featured By Owner Dec 11, 2011  Hobbyist Interface Designer
Very nice!
Reply
:iconsupervitality:
SuperVitality Featured By Owner Dec 11, 2011  Hobbyist Digital Artist
Nice, I've been looking for this :3
Reply
Add a Comment:
 
×




Details

Submitted on
December 11, 2011
File Size
941 KB
Link
Thumb

Stats

Views
11,179 (1 today)
Favourites
32 (who?)
Comments
12
Downloads
2,488

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×