To do this, I use the Run Command plugin with the parameter wmic logicaldisk get caption.
The probleme here is that, probably because my current applocale is in japanese, when I use the !log bang or simply a string meter with the string value to get (and check if it works) of the Run Command measure, it gives me : 慃瑰潩ഠ㩃†††ഠ㩄†††ഠ㩅†††ഠ㩆†††ഠ㩇†††ഠ. So yeah something is clearly wrong here.
Also when I make the Parameter be wmic logicaldisk get caption > Output.txt (so that it should output the "logs" in the file "output.txt") it gives me what I want.
The problem here is that I know that if I change back to an english applocale it should fix the issue but I want to tell that It can cause incompatibility issue (so the skin doesn't work properly) with applocales like japanese.
So here is my little test skin :
Code: Select all
[Rainmeter]
Update=1000
OnrefreshAction=!commandMeasure "MeaRunCommand" "Run"
[MeaRunCommand]
Measure=Plugin
Plugin=RunCommand
FinishAction=!log [MeaRunCommand]
DynamicVariables=1
Parameter=wmic logicaldisk get caption
[MeStr]
Meter=STRING
MeasureName=MeaRunCommand
FontSize=20
H=50
W=200
SolidColor=000000FF
FontColor=FFFFFF