[Solved] Did you know how to change "System" into "Model Name"?

SaberAkiyama

New Member
JavaScript:
[Rainmeter]
Update=1000
AccurateText=1

[LocalMchnName]
Measure=Plugin
Plugin=HWiNFO
HWiNFOSensorId=0xf0000301
HWiNFOSensorInstance=0x0
HWiNFOType=SensorName
RegExpSubstitute=1
Substitute="^(.*]: )":"","(: .*)$":""
UpdateDivider=-1

[LocalMchnSysName]
Meter=String
FontFace=Open Sans
FontSize=15
FontColor=255,255,255
SolidColor=0,0,0,128
X=0
Y=0
Text="[LocalMchnName]"
AntiAlias=1

I try change in Substitute code, but it's very hard.
For Example: "System: Acer Aspire 4752" to "Acer Aspire 4752"
 
Last edited:
I have a solve. The reason is Substitute code is replace the original label to model name.

JavaScript:
RegExpSubstitute=1
Substitute="^.*:\s(.*)$":"\1"
 
Back
Top