Code: Select all
Update=10000
[Metadata]
Name=Drive Bars
Information=Shows how much space has been used in any two drives on your pc
; Change disk1 and disk2 variables to drives you want to show
; Change VerticalResolution to the resolution of your monitor (Mine is 1080)
Version=1.0
[Variables]
BGColor=0,0,0,100
BarColor=33FF00
TextColor=255,255,255,200
VerticalResolution=768
disk1=C:
disk2=E:
Font=HUN-din 1451
FontSize=25
ImageRotate=0.71
[BarStyle]
BarOrientation=Vertical
SolidColor=#BGColor#
BarColor=#BarColor#
RotationAngle=0.785398163
[TextStyle]
FontFace=#Font#
FontColor=#TextColor#
FontSize=#FontSize#
StringEffect=SHADOW
FontEffectColor=0,0,0,50
Angle=-1.570796
AntiAlias=1
[SpaceStyle]
FontFace=#Font#
FontColor=#TextColor#
FontSize=#FontSize#
StringEffect=SHADOW
FontEffectColor=0,0,0,50
Angle=-1.570796
AntiAlias=1
StringAlign=RIGHT
[Drive1Total]
Measure=FreeDiskSpace
Drive=#disk1#
total=1
[Drive2Total]
Measure=FreeDiskSpace
Drive=#disk2#
total=1
[Drive1Used]
Measure=FreeDiskSpace
Drive=#disk1#
InvertMeasure=1
[Drive2Used]
Measure=FreeDiskSpace
Drive=#disk2#
InvertMeasure=1
[Separator]
Measure=Calc
Formula=0
[Drive1Bar]
Meter=Bar
MeasureName=Drive1Used
X=0
Y=r
W=40
H=#VerticalResolution#
MeterStyle=BarStyle
LeftMouseUpAction=!Execute ["#disk1#\"]
[DriveSeparator]
Meter=Bar
MeasureName=Separator
X=R
Y=r
W=5
H=#VerticalResolution#
BarOrientation=VERTICAL
SolidColor=0,0,0,150
[Drive2Bar]
Meter=Bar
MeasureName=Drive2Used
X=R
Y=r
W=40
H=#VerticalResolution#
MeterStyle=BarStyle
LeftMouseUpAction=!Execute ["#disk2#\"]
[Drive1Text]
Meter=String
MeasureName=Drive1Used
MeasureName2=Drive1Total
X=7
Y=#VerticalResolution#
W=150
H=40
MeterStyle=TextStyle
Text="#Disk1#\ - %1B / %2B"
AutoScale=1
NumOfDecimals=1
[Drive2Text]
Meter=String
MeasureName=Drive2Used
MeasureName2=Drive2Total
X=52
Y=#VerticalResolution#
W=150
H=40
MeterStyle=TextStyle
Text="#Disk2#\ - %1B / %2B"
AutoScale=1
NumOfDecimals=1