I doubt it wouldn't be:

Code: Select all

```
;READ THE [Variables] SECTION BELOW FOR SETUP INFORMATION
[Rainmeter]
Author=Pul53dr1v3r
AppVersion=test
Update=1000
Background=#@#Background.png
SkinHeight=((#BgHeight#-12*#Scale#*(1-Clamp((#RamHistState#+#CpuHistState#),0,1)))*#Scale#)
SkinWidth=(#BgWidth#*#Scale#)
AccurateText=1
BackgroundMode=3
BackgroundMargins=0,34,0,13
[Variables]
;CPU Name or Title for widget/gadget
CPUName=cpu-ram
FontFamily=Trebuchet MS
textSize=8
colorBar=255,140,0,200
colorText=255,255,255,205
EmptyBarColor=255,255,255,25
barHeight=1
barWidth=90
SkinState=1
RamHistState=0
CpuHistState=1
TempHistState=0
@Include=#@#\HWiNFO.inc
BgHeight=150
BgWidth=210
Scale=1
;=========================
;CPU AND RAM INFO
;=========================
[styleTitle]
StringAlign=CENTER
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#FontFamily#
FontSize=10
AntiAlias=1
;ClipString=1
[styleCenterText]
StringAlign=Center
StringCase=NONE
StringStyle=BOLD
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#FontFamily#
FontSize=#textSize#
AntiAlias=1
;ClipString=1
[styleLeftText]
StringAlign=LEFT
; Meters using styleLeftText will be left-aligned.
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#FontFamily#
FontSize=8
AntiAlias=1
[styleRightText]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#FontFamily#
FontSize=8
AntiAlias=1
[meterTitle]
Meter=STRING
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=104
Y=12
H=100
Text="#CPUNAME#"
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
;[""""""""""""""""""""""""""""""[[CPU_Temperature]]""""""""""""""""""""""""""""""]
[CPUTotalTemp]
Meter=STRING
MeasureName=MCPUTemp
MeterStyle=styleCenterText
Text="%1°C"
FontColor=[MCPUTempCalc]
x=104
Y=38
W=1
H=1
DynamicVariables=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[MCPUTemp]
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOSensorId=#HWiNFO-MOBO-SensorId#
HWiNFOSensorInstance=#HWiNFO-MOBO-SensorInstance#
HWiNFOEntryId=#HWiNFO-MOBO-CPU-Temp#
HWiNFOType=CurrentValue
HWiNFOLogHandler=0
MinValue=0
MaxValue=100
[MCPUTempCalc]
Measure=Calc
Formula=MCPUTemp< 25 ? -1 : (MCPUTemp < 40 ? -2 : (MCPUTemp < 50 ? -3 : (MCPUTemp < 60 ? -4 : -5)))
Substitute="-1":"255,255,255","-2":"255,255,102","-3":"255,153,51","-4":"255,0,0","-5":"204,0,0"
;[""""""""""""""""""""""""""""""[[CPU_Meters]]""""""""""""""""""""""""""""""]
[TotalCPUUsageText]
Meter=STRING
MeterStyle=styleLeftText
Text="CPU:"
X=9
Y=40
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[CPUTotalBarGraphUsage]
Meter=BAR
MeasureName=MCLOADTOTAL
BarColor=[CPUBARWARNT]
SolidColor=#EmptyBarColor#
BarOrientation=HORIZONTAL
X=9
Y=52
W=190
H=2
DynamicVariables=1
Autoscale=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[TotalCPUUsagePercent]
Meter=String
MeasureName=CPUPERCENTCALC
MeterStyle=styleRightText
X=199
Y=38
Text="[%1%]"
NumofDecimals=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
;CPU Usage Measures
[MCLOADTOTAL]
Measure=CPU
Processor=0
;CPU Usage percent measures
[CPUPERCENTCALC]
Measure=Calc
Formula=MCLOADTOTAL * 1
;CPU Usage Bar Warning
[CPUBARWARNT]
Measure=Calc
Formula=CPUPERCENTCALC> 75 ? -1 : -2
Substitute="-1":"220,20,60,200","-2":"#colorBar#"
;[""""""""""""""""""""""""""""""[[CPU_Clock]]""""""""""""""""""""""""""""""]
[MCLOCK]
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOSensorId=#HWiNFO-CPU0-SensorId#
HWiNFOSensorInstance=#HWiNFO-CPU0-SensorInstance#
HWiNFOEntryId=#HWiNFO-CPU0-Clock#
HWiNFOType=CurrentValue
[MeterMHz]
Meter=STRING
MeasureName=MCLOCK
MeterStyle=styleLeftText
FontColor=255,255,255,100
StringStyle=Normal
;FontSize=7
;FontFace=Arial
Text="Clock: %1 MHz"
X=9
Y=56
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
;[""""""""""""""""""""""""""""""[[CPU_Fan]]""""""""""""""""""""""""""""""]
[CPUFanText]
Meter=STRING
MeasureName=CPUFAN0
MeterStyle=styleRightText
FontColor=255, 255, 255,100
StringStyle=Normal
;FontSize=7
;FontFace=Arial
Text="FAN: %1rpm"
X=199
Y=r
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[CPUFAN0]
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOSensorId=#HWiNFO-MOBO-SensorId#
HWiNFOSensorInstance=#HWiNFO-MOBO-SensorInstance#
HWiNFOEntryId=#HWiNFO-MOBO-CPU-Fan#
HWiNFOType=CurrentValue
HWiNFOLogHandler=0
MinValue=0
MaxValue=5000
;[""""""""""""""""""""""""""""""[[RAM]]""""""""""""""""""""""""""""""]
[MeasureRAMTotal]
Measure=PhysicalMemory
Total=1
UpdateDivider=600
[MeasureRAMUsed]
Measure=PhysicalMemory
[MeasureRAMFree]
Measure=PhysicalMemory
InvertMeasure=1
[RAMUsageLabel]
Meter=String
MeterStyle=styleLeftText
Text="RAM:"
x=9
y=18r
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[RAMUsage]
Meter=BAR
MeasureName=MeasureRAMUsed
X=9
Y=0R
W=190
H=1
BarColor=[RAMWarn]
SolidColor=#EmptyBarColor#
BarOrientation=HORIZONTAL
DynamicVariables=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[RAMUsedGB]
Meter=STRING
MeterStyle=styleCenterText
MeasureName=MeasureRAMTotal
MeasureName2=MeasureRAMUsed
MeasureName3=MeasureRAMFree
;FontColor=255, 255, 255, 100
NumofDecimals=1
X=104
Y=-12r
Text="%2B/%1B"
Autoscale=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[RAMUsagePercent]
Meter=STRING
MeasureName=MeasureRAMUsed
MeterStyle=styleRightText
X=199
Y=-2r
;H=18
Text="[%1%]"
NumofDecimals=0
Percentual=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
;[""""""""""""""""""""""""""""""[[RAM_Warning_Levels]]""""""""""""""""""""""""""""""]
[measureRAMGBCalc]
Measure=Calc
Formula=MeasureRAMUsed * 100 / MeasureRAMTotal
[measureRAMGBCalc2]
Measure=Calc
Formula=measureRAMGBCalc
MinValue=0
MaxValue=100
Percentual=1
[RAMWarn]
Measure=Calc
Formula=measureRAMGBCalc2> 75 ? -1 : -2
Substitute="-1":"220,20,60,200","-2":"#colorBar#"
;[""""""""""""""""""""""""""""""[[Histograms]]""""""""""""""""""""""""""""""]
[CpuHistogram]
Meter=Histogram
MeasureName=MCLOADTOTAL
GraphStart=Left
X=10
Y=-40
W=186
H=25
Autoscale=1
Antialias=1
PrimaryColor=176,196,222,150
;SolidColor=255,255,255,15
Group=Graphs
Hidden=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[RamHistogram]
Meter=Histogram
MeasureName=MeasureRAMUsed
GraphStart=Left
X=10
Y=-40
W=186
H=25
Autoscale=1
Antialias=1
PrimaryColor=176,196,222,150
;SolidColor=255,255,255,15
Group=Graphs
Hidden=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[TempHistogram]
Meter=Histogram
MeasureName=MCPUTemp
GraphStart=Left
X=10
Y=-40
W=186
H=25
Autoscale=1
Antialias=1
PrimaryColor=176,196,222,150
;SolidColor=255,255,255,15
Group=Graphs
Hidden=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
;(""""""""""((UniqueHistBg))"""""""""")
[HistogramBackground]
Meter=Image
X=10
Y=-40
W=186
H=25
;PrimaryColor=176,196,222,150
SolidColor=255,255,255,15
Group=Graphs
Hidden=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
;(""""""""""((TEMP))"""""""""")
[HideTempHistogram]
Meter=String
MeterStyle=styleCenterText
FontSize=7
X=74
Y=-40
H=7
FontColor=255,140,0,200
Text=TMP
LeftMouseUpAction=[!SetVariable TempHistState "0"][!WriteKeyValue Variables TempHistState "0"][!UpdateMeasure "MeasureTempHistState"]
Group=TButtons
Hidden=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[ShowTempHistogram]
Meter=String
MeterStyle=styleCenterText
FontSize=7
X=r
Y=-40
H=7
FontColor=255,255,255,50
Text=TMP
LeftMouseUpAction=[!SetVariable TempHistState "1"][!WriteKeyValue Variables TempHistState "1"][!SetVariable CpuHistState "0"][!WriteKeyValue Variables CpuHistState "0"][!SetVariable RamHistState "0"][!WriteKeyValue Variables RamHistState "0"][!UpdateMeasure "MeasureTempHistState"][!UpdateMeasure "MeasureCpuHistState"][!UpdateMeasure "MeasureRamHistState"]
Hidden=1
Group=TButtons
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[MeasureTempHistState]
Measure=Calc
Formula=#TempHistState#
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideMeter "TempHistogram"][!ShowMeter "ShowTempHistogram"][!HideMeter "HideTempHistogram"][!Update]
IfFalseAction=[!ShowMeter "TempHistogram"][!HideMeter "ShowTempHistogram"][!ShowMeter "HideTempHistogram"][!Update]
DynamicVariables=1
Disabled=1
;(""""""""""((CPU))"""""""""")
[HideCpuHistogram]
Meter=String
MeterStyle=styleCenterText
FontSize=7
X=104
Y=-40
H=7
FontColor=255,140,0,200
Text="CPU"
LeftMouseUpAction=[!SetVariable CpuHistState "0"][!WriteKeyValue Variables CpuHistState "0"][!UpdateMeasure "MeasureCpuHistState"]
Group=TButtons
Hidden=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[ShowCpuHistogram]
Meter=String
MeterStyle=styleCenterText
FontSize=7
X=r
Y=-40
H=7
FontColor=255,255,255,50
Text="CPU"
LeftMouseUpAction=[!SetVariable CpuHistState "1"][!WriteKeyValue Variables CpuHistState "1"][!SetVariable TempHistState "0"][!WriteKeyValue Variables TempHistState "0"][!SetVariable RamHistState "0"][!WriteKeyValue Variables RamHistState "0"][!UpdateMeasure "MeasureCpuHistState"][!UpdateMeasure "MeasureTempHistState"][!UpdateMeasure "MeasureRamHistState"]
Hidden=1
Group=TButtons
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[MeasureCpuHistState]
Measure=Calc
Formula=#CpuHistState#
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideMeter "CpuHistogram"][!ShowMeter "ShowCpuHistogram"][!HideMeter "HideCpuHistogram"][!Update]
IfFalseAction=[!ShowMeter "CpuHistogram"][!HideMeter "ShowCpuHistogram"][!ShowMeter "HideCpuHistogram"][!Update]
DynamicVariables=1
Disabled=1
;(""""""""""((RAM))"""""""""")
[HideRamHistogram]
Meter=String
MeterStyle=styleCenterText
FontSize=7
X=134
;Y=([MeterMHz:Y]+60)
Y=-40
H=7
FontColor=255,140,0,200
Text="RAM"
LeftMouseUpAction=[!SetVariable RamHistState "0"][!WriteKeyValue Variables RamHistState "0"][!UpdateMeasure "MeasureRamHistState"]
Group=TButtons
Hidden=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[ShowRamHistogram]
Meter=String
MeterStyle=styleCenterText
FontSize=7
X=r
Y=-40
H=7
FontColor=255,255,255,50
Text="RAM"
LeftMouseUpAction=[!SetVariable RamHistState "1"][!WriteKeyValue Variables RamHistState "1"][!SetVariable TempHistState "0"][!WriteKeyValue Variables TempHistState "0"][!SetVariable CpuHistState "0"][!WriteKeyValue Variables CpuHistState "0"][!UpdateMeasure "MeasureRamHistState"][!UpdateMeasure "MeasureTempHistState"][!UpdateMeasure "MeasureCpuHistState"]
Hidden=1
Group=TButtons
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[MeasureRamHistState]
Measure=Calc
Formula=#RamHistState#
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideMeter "RamHistogram"][!ShowMeter "ShowRamHistogram"][!HideMeter "HideRamHistogram"][!Update]
IfFalseAction=[!ShowMeter "RamHistogram"][!HideMeter "ShowRamHistogram"][!ShowMeter "HideRamHistogram"][!Update]
DynamicVariables=1
Disabled=1
;[""""""""""""""""""""""""""""""[[Collapse-Expand]]""""""""""""""""""""""""""""""]
[meterHideGraphs]
Meter=Image
ImageName=#@#Images\left.png
X=185
Y=15
W=10
H=10
ImageTint=255,255,255,150
;LeftMouseUpAction=[!SetVariable SkinState "0"][!WriteKeyValue Variables SkinState "0"][!UpdateMeasure "MeasureSkinState"]
TooltipText=Hide graph
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[meterHideGraphsClickableRegion]
Meter=Image
Solidcolor=0,0,0,0
X=([meterHideGraphs:X] * #Scale#)
Y=([meterHideGraphs:Y] * #Scale#)
H=([meterHideGraphs:H] * #Scale#)
W=([meterHideGraphs:W] * #Scale#)
LeftMouseUpAction=[!SetVariable SkinState "0"][!WriteKeyValue Variables SkinState "0"][!UpdateMeasure "MeasureSkinState"]
UpdateDivider=1
DynamicVariables=1
[meterShowGraphs]
Meter=Image
ImageName=#@#Images\right.png
X=185
Y=15
H=10
W=10
ImageTint=255,255,255,150
;LeftMouseUpAction=[!SetVariable SkinState "1"][!WriteKeyValue Variables SkinState "1"][!UpdateMeasure "MeasureSkinState"]
TooltipText=Show graph
Hidden=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
[meterShowGraphsClckableRegion]
Meter=Image
Solidcolor=0,0,0,0
X=([meterShowGraphs:X] * #Scale#)
Y=([meterShowGraphs:Y] * #Scale#)
H=([meterShowGraphs:H] * #Scale#)
W=([meterShowGraphs:W] * #Scale#)
LeftMouseUpAction=[!SetVariable SkinState "1"][!WriteKeyValue Variables SkinState "1"][!UpdateMeasure "MeasureSkinState"]
UpdateDivider=1
Hidden=1
DynamicVariables=1
[MeasureSkinState]
Measure=Calc
Formula=#SkinState#
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!DisableMeasure "MeasureTempHistState"][!DisableMeasure "MeasureCpuHistState"][!DisableMeasure "MeasureRamHistState"][!HideMeterGroup "Graphs"][!HideMeterGroup "TButtons"][!ShowMeter "meterShowGraphs"][!ShowMeter "meterShowGraphsClckableRegion"][!HideMeter "meterHideGraphs"][!HideMeter "meterHideGraphsClickableRegion"][!SetOptionGroup "Graphs" "Y" "0"][!SetOptionGroup "TButtons" "Y" "0"][!HideMeter "HistogramBackground"][!Update]
IfFalseAction=[!EnableMeasure "MeasureTempHistState"][!EnableMeasure "MeasureCpuHistState"][!EnableMeasure "MeasureRamHistState"][!HideMeter "meterShowGraphs"][!HideMeter "meterShowGraphsClckableRegion"][!ShowMeter "meterHideGraphs"][!ShowMeter "meterHideGraphsClickableRegion"][!SetOption "TempHistogram" "Y" "([MeterMHz:Y]+35)"][!SetOption "CpuHistogram" "Y" "([MeterMHz:Y]+35)"][!SetOption "RamHistogram" "Y" "([MeterMHz:Y]+35)"][!SetOption "HideTempHistogram" "Y" "([MeterMHz:Y]+60-12*#Scale#*(1-Clamp((#RamHistState#+#CpuHistState#),0,1)))"][!SetOption "ShowTempHistogram" "Y" "([MeterMHz:Y]+60-12*#Scale#*(1-Clamp((#RamHistState#+#CpuHistState#),0,1)))"][!SetOption "HideCpuHistogram" "Y" "([MeterMHz:Y]+60-12*#Scale#*(1-Clamp((#RamHistState#+#CpuHistState#),0,1)))"][!SetOption "ShowCpuHistogram" "Y" "([MeterMHz:Y]+60-12*#Scale#*(1-Clamp((#RamHistState#+#CpuHistState#),0,1)))"][!SetOption "HideRamHistogram" "Y" "([MeterMHz:Y]+60-12*#Scale#*(1-Clamp((#RamHistState#+#CpuHistState#),0,1)))"][!SetOption "ShowRamHistogram" "Y" "([MeterMHz:Y]+60-12*#Scale#*(1-Clamp((#RamHistState#+#CpuHistState#),0,1)))"][!ShowMeter "HistogramBackground"][!SetOption "HistogramBackground" "Y" "([MeterMHz:Y]+35)"][!Update]
DynamicVariables=1
```

Two other comments, if you don't mind:

- Both the Author and the AppVersion options of the [Rainmeter] section are deprecated. Move the Author to [Metadata] and remove completely the AppVersion.
- The quotations are not needed around the values of options. For example they are not needed around the CPU value of Text option of the [HideCpuHistogram] meter (same for the other values of all other Text options). So, I replaced the Text="CPU" with Text=CPU. Details here.