Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1670

Help: Rainmeter Skins • Re: CPU usage of processes

$
0
0
Don't get me wrong: I have tried already. Yesterday I spent about 30min trying to make it work with the infos I found in this topic. Unfortunately I'm too unexperienced with Rainmeter to make it work. Just like I couldn't make it work today with your own bit of code. I must be doing something wrong.

Here's the whole skin I'm using. I have tried replacing "Measure=CPU" with your five lines of code, but it doesn't work. If you can help with this, I'll be most grateful. A vague measure of my average %CPU, even a bit inaccurate, will be much better than my current 0%. Thank you.

Code:

[Rainmeter]Update=2000Background=#@#bg_small.pngLeftMouseUpAction=["taskmgr.exe"]---------------[Variables][MeasureCPU]Measure=CPUIfCondition=(#CURRENTSECTION#<60)IfTrueAction=[!SetOption MeterCPUBar BarColor "185,250,160"][!UpdateMeter "MeterCPUBar"][!Redraw]IfCondition2=((#CURRENTSECTION#>=60)&&(#CURRENTSECTION#<80))IfTrueAction2=[!SetOption MeterCPUBar BarColor "255,255,153"][!UpdateMeter "MeterCPUBar"][!Redraw]IfCondition3=(#CURRENTSECTION#>=80)IfTrueAction3=[!SetOption MeterCPUBar BarColor "205,175,180"][!UpdateMeter "MeterCPUBar"][!Redraw][MeasureRAM]Measure=PhysicalMemoryMinValue=0MaxValue=[MeasureRAMTotal]DynamicVariables=1[MeasureRAMTotal]Measure=PhysicalMemoryTotal=1[MeasureRAMPercent]Measure=CalcFormula=( 100 * MeasureRAM / MeasureRAMTotal)IfCondition=(#CURRENTSECTION#<80)IfTrueAction=[!SetOption MeterRAMBar BarColor "185,250,160"][!UpdateMeter "MeterRAMBar"][!Redraw]IfCondition2=((#CURRENTSECTION#>=80)&&(#CURRENTSECTION#<90))IfTrueAction2=[!SetOption MeterRAMBar BarColor "255,255,153"][!UpdateMeter "MeterRAMBar"][!Redraw]IfCondition3=(#CURRENTSECTION#>=90)IfTrueAction3=[!SetOption MeterRAMBar BarColor "205,175,180"][!UpdateMeter "MeterRAMBar"][!Redraw][MeasureMaxTemp]Measure=PluginPlugin=CoreTempCoreTempType=MaxTemperatureIfCondition=(#CURRENTSECTION#<70)IfTrueAction=[!SetOption MeterMaxTempBar BarColor "185,250,160"][!UpdateMeter "MeterMaxTempBar"][!Redraw]IfCondition2=((#CURRENTSECTION#>=70)&&(#CURRENTSECTION#<85))IfTrueAction2=[!SetOption MeterMaxTempBar BarColor "255,255,153"][!UpdateMeter "MeterMaxTempBar"][!Redraw]IfCondition3=(#CURRENTSECTION#>=85)IfTrueAction3=[!SetOption MeterMaxTempBar BarColor "205,175,180"][!UpdateMeter "MeterMaxTempBar"][!Redraw][MeasureMaxTempPercent]Measure=CalcFormula=( 100 * MeasureMaxTemp / 95)MinValue=0MaxValue=100---------------[MeterCPUSmallText]Meter=STRINGUpdateDivider=-1X=68Y=20FontColor=220,220,220FontSize=7FontFace=Segoe UIStringStyle=BOLDStringEffect=ShadowStringEffectColor=0,0,0StringAlign=RightCenterAntiAlias=1Text=CPU[MeterCPU]Meter=STRINGMeasureName=MeasureCPUX=68Y=33FontColor=220,220,220FontSize=12FontFace=Segoe UIStringStyle=BOLDStringEffect=ShadowStringEffectColor=0,0,0StringAlign=RightCenterAntiAlias=1Text=%1%[MeterCPUBar]Meter=BarMeasureName=MeasureCPUX=73Y=22W=97H=12SolidColor=150,150,150,100BarOrientation=Horizontal---------------[MeterRAMSmallText]Meter=STRINGUpdateDivider=-1X=68Y=53FontColor=220,220,220FontSize=7FontFace=Segoe UIStringStyle=BOLDStringEffect=ShadowStringEffectColor=0,0,0StringAlign=RightCenterAntiAlias=1Text=RAM[MeterRAM]Meter=STRINGMeasureName=MeasureRAMPercentX=68Y=66FontColor=220,220,220FontSize=12FontFace=Segoe UIStringStyle=BOLDStringEffect=ShadowStringEffectColor=0,0,0StringAlign=RightCenterAntiAlias=1Text=%1%[MeterRAMBar]Meter=BarMeasureName=MeasureRAMX=73Y=55W=97H=12SolidColor=150,150,150,100BarOrientation=Horizontal---------------[MeterMaxTempSmallText]Meter=STRINGUpdateDivider=-1X=68Y=86FontColor=220,220,220FontSize=7FontFace=Segoe UIStringStyle=BOLDStringEffect=ShadowStringEffectColor=0,0,0StringAlign=RightCenterAntiAlias=1Text=TEMP[MeterMaxTemp]Meter=StringMeasureName=MeasureMaxTempX=68Y=99FontColor=220,220,220FontSize=12FontFace=Segoe UIStringStyle=BOLDStringEffect=ShadowStringEffectColor=0,0,0StringAlign=RightCenterAntiAlias=1Text=%1 C[MeterMaxTempBar]Meter=BarMeasureName=MeasureMaxTempPercentX=73Y=88W=97H=12SolidColor=150,150,150,100BarOrientation=Horizontal

Statistics: Posted by Jose Hidalgo — 44 minutes ago



Viewing all articles
Browse latest Browse all 1670

Trending Articles