It is currently March 28th, 2024, 6:25 pm

Help needed on process monitor skin...

Get help with creating, editing & fixing problems with skins
Post Reply
User avatar
brax64
Posts: 172
Joined: July 8th, 2018, 8:05 pm

Help needed on process monitor skin...

Post by brax64 »

Please anybody can help me to figure out why the "value%" of the used cpu (meter Number1) is not updating? It gets a number loading the skin or refreshing it but it freezes after that, while the process name keeps updating regularly...

Code: Select all

[Rainmeter]
Author=brax64
Update=(1000*#ProcessInterval#)
BackgroundMode=2
SolidColor=0,0,0,1
DynamicWindowSize=1
AccurateText=1

[Variables]
ProcessInterval=2
SO=!SetOption
RD=!Redraw
UMT=!UpdateMeter
dist3=16
ff=Arial
;------------------------------------------------------------------------------

[MProcess1]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=1
Blacklist=_Total |Idle
IfCondition=MProcess1 = 0
IfTrueAction=[#SO# Number1 Text ""]
IfFalseAction=[#SO# Number1 Text "[MProcess1:1]%"]
OnUpdateAction=[#UMT# Number1][#RD#]

;---------------------------------------------------------------------------------------------------------------------

[ItemStyle]
FontFace=#ff#
FontSize=9
FontColor=0,0,0,200
StringAlign=Left
AntiAlias=1
X=210
Y=#dist3#r
W=70
ClipString=1
DynamicVariables=1

[ItemStyle1]
Y=20

[NumberStyle]
FontFace=#ff#
FontSize=10
FontColor=0,0,0,200
StringAlign=Left
AntiAlias=1
DynamicVariables=1
NumOfDecimals=1
X=80r
Y=r

[Item1]
Meter=STRING
MeasureName=MProcess1
MeterStyle=ItemStyle | ItemStyle1

[Number1]
Meter=STRING
MeasureName=MProcess1
MeterStyle=NumberStyle
Also did use the same plugin (UsageMonitor) to show the total PCU used but I'm getting values quite different from what I can see on Task Manager and HWinfo as well... any idea why?
Thanks in advance!!!!
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: Help needed on process monitor skin...

Post by mak_kawa »

IfFalseAction=[#SO# Number1 Text "[*MProcess1:1*]%"]
User avatar
brax64
Posts: 172
Joined: July 8th, 2018, 8:05 pm

Re: Help needed on process monitor skin...

Post by brax64 »

mak_kawa wrote:IfFalseAction=[#SO# Number1 Text "[*MProcess1:1*]%"]
Thank you very much mak_kawa! It works perfectly!
Post Reply