Thanks, that's what I am looking for.
You just made me realise that It is more conveninet to write script with the Rainmeter-native UsageMonitor plugin than HWinfo plugin. UsageMonitor uses 'plain' English words, while HWInfo deals with 'humbers'. The former is easier to debug i.e., ''English' Category=LogicalDisk against 'numbers' HWiNFOSensorId=0xf000010
Here's how I achieve the same things using two different methods.
HWInfo plugin..
Code: Select all
[HDDN_WriteMBPS]
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOSensorId=0xf0000101
HWiNFOSensorInstance=#IDRWN#
HWiNFOEntryId=0x8000001
HWiNFOType=CurrentValue
IfCondition=HDDN_Write > 0
IfTrueAction=[!SetOption "N_Write" ImageAlpha 255][!SetOption "N_WriteLed" ImageAlpha 255]
IfCondition2=HDDN_Write = 0
IfTrueAction2=[!SetOption "N_Write" ImageAlpha 0][!SetOption "N_WriteLed" ImageAlpha 0]
Code: Select all
[HDDAltN_WriteBPS]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Write Bytes/sec
Name=N:
IfCondition=HDDAltN_Write > 0
IfTrueAction=[!SetOption "N_Write" ImageAlpha 255][!SetOption "N_WriteLed" ImageAlpha 255]
IfCondition2=HDDAltN_Write = 0
IfTrueAction2=[!SetOption "N_Write" ImageAlpha 0][!SetOption "N_WriteLed" ImageAlpha 0]
[HDDAltN_WriteMBPS]
Measure=CALC
Formula=ROUND(HDDAltN_Write/1024/1024,3)