0

我正在尝试构建一个非常简单的倒计时,一旦达到 0 就会重新启动。为什么第 15 行(IfBelowAction)上的代码不起作用?实现此目的的替代方法是什么?

[Rainmeter]
Update=1000
DynamicWindowSize=1

[Metadata]
Name=Test
Author=jjnnugent
Information=Test skin.
Version=1.0.0

[MeasureMeter]
Measure=Calc
Formula=10
IfBelowValue = 0
IfBelowAction=[!SetOption MeasureMeter Formula "10"]
OnUpdateAction=[!SetOption MeasureMeter Formula "MeasureMeter - 1"]

[MeasureString]
Meter=String
MeasureName=MeasureMeter
FontSize=18
FontColor=255,255,255
SolidColor=50,50,50,175
StringStyle=Bold
AntiAlias=1
Text=Seconds left %1
4

1 回答 1

0
[MeasureMeter]
Measure=Calc
Formula=(MeasureMeter-1+(10+1))%(10+1)

在Bonus Lesson下的文档中找到了答案: https ://docs.rainmeter.net/tips/counters-guide/

于 2015-11-19T22:51:07.950 回答