It is currently July 21st, 2019, 9:40 am

Roundline reverse effect

General topics related to Rainmeter.
AdurVonRob
Posts: 5
Joined: April 24th, 2018, 1:44 pm

Re: Roundline reverse comeback

AdurVonRob » April 24th, 2018, 5:43 pm

balala wrote:

Code: Select all

[Rainmeter]
Update=1000

[Variables]
Sec=0

[MeasureSecond]
Measure=Time
Format=%#S
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetVariable Sec "(1-#Sec#)"][!UpdateMeasure "MeasureSecond"][!UpdateMeasure "MeasureCount""][!UpdateMeter "MeterSecond"][!Redraw]
DynamicVariables=1

[MeasureCount]
Measure=Calc
Formula=(( #Sec# = 0 ) ? MeasureSecond : ( 60 - MeasureSecond ))
DynamicVariables=1
MinValue=0
MaxValue=60

[MeterSecond]
Meter=Roundline
MeasureName=MeasureCount
X=0
Y=0
W=120
H=120
StartAngle=4.712
RotationAngle=((#Sec#=0)?6.283:(-6.283))
LineLength=60
LineStart=50
LineColor=220,220,220
Solid=1
AntiAlias=1
SolidColor=60,60,60,160
DynamicVariables=1
OMG!! You're a god!! Thank you so much :o <3
User avatar
balala
Rainmeter Sage
Posts: 8391
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Roundline reverse effect

balala » April 24th, 2018, 5:50 pm

I'm glad if you found it useful.