Ok got everything working with the weather and set the update times accordingly.
The next thing I want to work on is the ring moving. So I looked at the !RainmeterMoveMeter in the manual, but it doesn't give me much information. I assume that I might have to use some sort of IF statement? I think that the best way to do it would be to use a time or date measure, but I'm having trouble thinking how I could make the ring move, for instance, once per day.
It is currently September 15th, 2024, 8:00 am
Lord of the Rings Suite
-
- Posts: 6
- Joined: June 12th, 2010, 8:38 pm
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: Lord of the Rings Suite
Well. Let's say we want to move the Rings X-postition with the day of the year (we move 365 steps on each year).
Forst we have our time measure. Then we feed that in to the MoveMeter so it will move.
That will make the image move a total of 365px on a normal year.
I'm sure you can think of a way to make it move nicely. If you want more than 1px each day (I know I would want to see some more movement), you can just get it in to a Calc-measure that makes the value bigger and all that.
You can also make it move acording from its original position, so you don't have to gor from 0.
[Calculus]
Measure=Calc
Formula=#OriginalX#+Day
That would make it move according to the original moving point, say, the Shyre (or what ever it's called and spelled).
Forst we have our time measure. Then we feed that in to the MoveMeter so it will move.
Code: Select all
[Day]
Measure=Time
Format=%j
[Motor]
Measure=Calc
Formula=Counter%2
IfBelowValue=1
IfBelowAction=!Execute [!RainmeterMoveMeter [Day] #Y1# Ring]
IfEqualValue=1
IfEqualAction=!Execute [!RainmeterMoveMeter [Day] #Y1# Ring]
DynamicVariables=1
I'm sure you can think of a way to make it move nicely. If you want more than 1px each day (I know I would want to see some more movement), you can just get it in to a Calc-measure that makes the value bigger and all that.
You can also make it move acording from its original position, so you don't have to gor from 0.
[Calculus]
Measure=Calc
Formula=#OriginalX#+Day
That would make it move according to the original moving point, say, the Shyre (or what ever it's called and spelled).
I don't think, therefore I'm not.