各位大佬问个问题,如何判断CPU温度显示对应颜色
rainmeter吧
全部回复
仅看楼主
level 13
例如 温度小于50,温度字体颜色为绿色
大于等于50小于等于80为黄色
大于80 为红色
温度在不停地刷新
求大佬解答,第四版中文手册我看了,没看懂
2020年02月19日 23点02分 1
level 9
[MeasueCPU温度]
。。。。。。
。。。。。。
IfCondition=(
#CurrentSection#
< 50)
IfTrueAction=[!SetOption MeterCPU温度 FontColor
#绿色#
][!Update]
IfCondition2=(
#CurrentSection#
>= 50) && (
#CurrentSection#
< 80)
IfTrueAction2=[!SetOption MeterCPU温度 FontColor
#黄色#
][!Update]
IfCondition3=(
#CurrentSection#
>= 80)
IfTrueAction3=[!SetOption MeterCPU温度 FontColor
#红色#
][Play "#@#我要报警你的机子温度过高了.wav"][!Update]
[MeterCPU温度]
。。。。。。
(俺是菜鸟,俺不用这方面的皮肤)
2020年02月20日 05点02分 2
感谢回复,我试试去
2020年02月20日 10点02分
试了下好像不行,我把原来的发你楼下,大佬帮我看看
2020年02月20日 10点02分
level 13
[MeasureMaxTemp]
Measure=Plugin
Plugin=Cor依Temp
Cor依TempType=MaxTemperature
IfCondition=(
#CurrentSection#
< 50)
IfTrueAction=[!SetOption MeasureMaxTemp FontColor
#绿色#
][!Update]
IfCondition2=(
#CurrentSection#
>= 50) && (
#CurrentSection#
< 80)
IfTrueAction2=[!SetOption MeasureMaxTemp FontColor
#黄色#
][!Update]
IfCondition3=(
#CurrentSection#
>= 80)
IfTrueAction3=[!SetOption MeasureMaxTemp FontColor
#红色#
][!Update]
[CPUtemp]
Meter=String
MeasureName=MeasureMaxTemp
X=250
Y=r
SolidColor=0,0,0,1
FontFace=
#TitleFont#

FontSize=11
FontColor=
#TempColor1#

StringStyle=Normal
StringAlign=RightBottom
Text=%1 °C
AntiAlias=1
还触发广告了,只能把库瑞 用中文打出来
这么改好像不行,没效果,该怎么改呢
2020年02月20日 10点02分 3
看楼下
2020年02月20日 17点02分
level 9
将你上面以下
IfCondition=(
#CurrentSection#
< 50)
IfTrueAction=[!SetOption MeasureMaxTemp FontColor
#绿色#
][!Update]
IfCondition2=(
#CurrentSection#
>= 50) && (
#CurrentSection#
< 80)
IfTrueAction2=[!SetOption MeasureMaxTemp FontColor
#黄色#
][!Update]
IfCondition3=(
#CurrentSection#
>= 80)
IfTrueAction3=[!SetOption MeasureMaxTemp FontColor
#红色#
][!Update]
这一大段改成:
IfCondition=(
#CurrentSection#
< 50)
IfTrueAction=[!SetOption CPUtemp FontColor 141,197,62]
IfCondition2=(
#CurrentSection#
>= 50) && (
#CurrentSection#
< 80)
IfTrueAction2=[!SetOption CPUtemp FontColor 255,195,13]
IfCondition3=(
#CurrentSection#
>= 80)
IfTrueAction3=[!SetOption CPUtemp FontColor 243,100,34]
红黄绿颜色你自己改改,我用的是微软红黄绿
2020年02月20日 17点02分 4
有效果了,谢谢大佬
2020年02月21日 10点02分
大佬,我把CPU GPU温度都判断了,就是内存不会,主要是不知道数值是多少,不像温度1-100多,Measure=PhysicalMemory 请问下大佬这个数值范围是多少[吐舌]
2020年02月21日 13点02分
@多吻吻你身边的风 Measure=PhysicalMemory,物理内存使用量,所以这个值最高为你的内存大小,查了一下,某些优化软件默认自动优化内存的阈值为75%,假设你的内存是16G,那么加两个条件判断,少于(16*0.75)和大小等于(16*0.75)
2020年02月21日 14点02分
@somi 有空试试
2020年02月22日 18点02分
1