It is currently May 6th, 2024, 1:29 pm

Can't get it done #2 (HDD monitor => CD/DVD monitor)

Get help with creating, editing & fixing problems with skins
User avatar
Mindflyer
Posts: 5
Joined: September 2nd, 2010, 4:16 am

Can't get it done #2 (HDD monitor => CD/DVD monitor)

Post by Mindflyer »

Right now I'm using a variation of a HDD monitor, like this:
HDD's.png
The "skin" is a Button type (it shows 3 states: normal, cursor over it, and "pressed" state)
I'm looking for now is some way to make one for CD/DVD drives that shows only Drive Letter & Total Space Used.
Is there a way to get Label Name, Drive Letter & Free/Used Space from a CD/DVD drive??
You do not have the required permissions to view the files attached to this post.
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Can't get it done #2 (HDD monitor => CD/DVD monitor)

Post by maminscris »

only the label or the name of the cd/dvd works about the rest I do not know how to make it show

Code: Select all

[Total]
Measure=FreeDiskSpace
Drive=#RemovableLetter2#:
IgnoreRemovable=0
Total=1
UpdateDivider=2

[Free]
Measure=FreeDiskSpace
Drive=#RemovableLetter2#:
IgnoreRemovable=0
UpdateDivider=4

[Label]
Measure=FreeDiskSpace
Drive=#RemovableLetter2#:
IgnoreRemovable=0
Total=1
UpdateDivider=2
Label=1
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image
User avatar
Mindflyer
Posts: 5
Joined: September 2nd, 2010, 4:16 am

More Info on { Can't get it done #2 }

Post by Mindflyer »

This is the config that I'm using:

Code: Select all

[Variables]
HDD=C
Col1=0,0,0,200
Col2=255,255,255,180
Col3=255,255,255,200
Font1=Good Times
Font2=Kozuka Gothic Pro

;=================
;=  Button Body  =
;=================

[HDDrive]
Meter=Button
ButtonImage=Btn.png
ButtonCommand=!Execute [#HDD#:]

;=================
;=  Drive Letter =
;=================

[DriveLetter]
Meter=String
X=35
Y=10
FontColor=#Col3#
FontSize=30
FontFace=#Font1#
StringAlign=Center
StringEffect=Shadow
Text=#HDD#
AntiAlias=1

;=================
;=  Free Space   =
;=================

[HDDFree]
Measure=FreeDiskSpace
InvertMeasure=0
Drive=#HDD#:

[Free]
MeasureName=HDDFree
Meter=STRING
X=35
Y=50
StringEffect=Shadow
FontColor=#Col3#
FontSize=10
StringAlign=Center
StringStyle=Bold
FontFace=#Font2#
AntiAlias=1
AutoScale=1
Text=%1b
[/size]
So when I'm changing between drives, only have to put the Drive Letter.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Can't get it done #2 (HDD monitor => CD/DVD monitor)

Post by jsmorley »

I'm pretty sure that FreeDiskSpace won't do CD/DVD drives. Don't forget that a CD/DVD "drive" has no space attributes. There is no free space or used space or total space. Those are attributes of the disks you put in them, and they are not in a FAT or NTFS format that FreeDiskSpace understands.
User avatar
Mindflyer
Posts: 5
Joined: September 2nd, 2010, 4:16 am

Re: Can't get it done #2 (HDD monitor => CD/DVD monitor)

Post by Mindflyer »

How do I make sure to know what measures can I get from CD/DVD drives and for removables (USB) too?