- UID
- 111204
- 帖子
- 11
- 积分
- 14
- 天下币
- 27 枚
- 贡献
- 0
- 签到
- 0 天
- 人气
- 0 度
- 爱心
- 0 颗
- 注册时间
- 2010-1-12
|
4#
发表于 2010-1-19 19:00
| 只看该作者
本帖最后由 xkmingxiao 于 2010-1-19 19:06 编辑
;////////////////////////////////////////
; Measure HDD5
;////////////////////////////////////////
[MeasureTotalHDD5]
Measure=FreeDiskSpace
Drive=#HDD5#
Total=1
;[MeasureFreeHDD5]
;Measure=FreeDiskSpace
;Drive=#HDD5#
[MeasureUsedHDD5]
Measure=FreeDiskSpace
Drive=#HDD5#
InvertMeasure=1
[MeasureLabelHDD5]
Measure=FreeDiskSpace
Drive=#HDD5#\
Label=1
;////////////////////////////////////////
; Meter HDD5
;////////////////////////////////////////
[MeterLabelHDD5]
Meter=STRING
MeasureName=MeasureLabelHDD5
X=10
Y=16r
FontColor=255, 255, 255, 255
FontSize=6
StringAlign=LEFT
FontFace=MicrogrammaDBolExt
Text="[#HDD5#] %1"
LeftMouseDownAction=!Execute ["G:\"]
AntiAlias=1
[MeterTotalHDD5Text]
MeasureName=MeasureTotalHDD5
Meter=STRING
X=142r
Y=0r
FontColor=255, 255, 255, 255
FontSize=6
StringAlign=Right
FontFace=MicrogrammaDBolExt
Text="%1B"
AntiAlias=1
AutoScale=1
[MeterUsedHDD5Text%]
MeasureName=MeasureUsedHDD5
Meter=STRING
X=36r
Y=0r
FontColor=255, 255, 255, 255
FontSize=6
StringAlign=Right
FontFace=MicrogrammaDBolExt
Text="%1%"
Percentual=1
AntiAlias=1
AutoScale=1
[MeterUsedHDD5Bar]
Meter=BAR
MeasureName=MeasureUsedHDD5
X=10
Y=1r
W=180
H=13
BarColor=255, 255, 255, 50
BarOrientation=HORIZONTAL
LeftMouseDownAction=!Execute ["G:\"]
[MeterUsedHDD5BarBack]
Meter=IMAGE
X=0r
Y=-1r
W=180
H=13
SolidColor=255, 255, 255, 30
LeftMouseDownAction=!Execute ["G:\"]
这段代码添加到你原来的代码后面就行了 另外背景要加长 不然可能会超出边框
[Rainmeter]
BackgroundMode=1
Author=LAvalon
AppVersion=14000
[Variables]
FontColour=255, 255, 255, 255
HDD1=C:
HDD2=D:
HDD3=E:
HDD4=F:
HDD5=G:
;////////////////////////////////////////
; BACKGROUND
;////////////////////////////////////////
[MeterBlackGlass]
Meter=String
x=0
Y=0
W=190
H=110 该位置调整数值就行了 具体多少看实际情况调节
SolidColor=0,0,0,60
;////////////////////////////////////////
; Meter HDD Title
;////////////////////////////////////////
[MeterText]
Meter=String
X=10
Y=4
FontColor=105,190,255,240
FontSize=10
StringAlign=left
AntiAlias=1
FontFace=微软雅黑
Text="磁盘 容量 已用" |
|