I have a HDD activity meter in Rainmeter (Blue for read, Red for write and White for both). But Can I have, instead of a shape, have a letter?
I want to have the letter R and W, side by side, with the color 255,255,255,50. When a drive is read, Only the letter R will be WHITE, same for the W when the drive is writing.
I've try by myself but i've mess up the code. This is the code i'm using, and wathever the code someone can provide, it's not a problem to change my code.
Code at the beginning
Code: Select all
[RoundlineStyle]
W=5
H=5
Padding=9,9,5,5
StartAngle=4.712
RotationAngle=6.283
LineLength=7
Solid=1
AntiAlias=1
AutoScale=1
[MeasureTotalDisk1]
Measure=FreeDiskSpace
Drive=#Disk1#
Total=1
UpdateDivider=3
IgnoreRemovable=0
IfCondition=(MeasureTotalDisk1=0)
IfTrueAction=[!HideMeterGroup "Disk1"]
IfFalseAction=[!ShowMeterGroup "Disk1"]
[MeasureDiskRead1]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#Disk1#
[MeasureDiskWrite1]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#Disk1#
IfCondition=((MeasureDiskRead1=0)&&(MeasureDiskWrite1=0))
IfTrueAction=[!SetOption MeterDisk1Activity LineColor "#NoActivityColor#"][!UpdateMeter "MeterDisk1Activity"][!Redraw]
IfCondition2=((MeasureDiskRead1>0)&&(MeasureDiskWrite1=0))
IfTrueAction2=[!SetOption MeterDisk1Activity LineColor "#ReadingColor#"][!UpdateMeter "MeterDisk1Activity"][!Redraw]
IfCondition3=((MeasureDiskRead1=0)&&(MeasureDiskWrite1>0))
IfTrueAction3=[!SetOption MeterDisk1Activity LineColor "#WritingColor#"][!UpdateMeter "MeterDisk1Activity"][!Redraw]
IfCondition4=((MeasureDiskRead1>0)&&(MeasureDiskWrite1>0))
IfTrueAction4=[!SetOption MeterDisk1Activity LineColor "#BothColor#"][!UpdateMeter "MeterDisk1Activity"][!Redraw]
Code: Select all
[MeterDisk1Activity]
Meter=Roundline
MeterStyle=RoundlineStyle
X=2
Y=18
Group=Disk1
[MeterDisk1]
Meter=String
MeterStyle=StringStyle
Group=Disk1
Possible of too complicated?