https://ufile.io/inv4zbalala wrote:I'm sorry, but doesn't help. The code includes some files I don't have. So, please pack the whole config and upload it. This way I'll have all needed files and will be able to check the skin.
It is currently April 19th, 2024, 9:04 pm
Measure Toggle
-
- Posts: 865
- Joined: January 4th, 2018, 9:52 pm
Re: Measure Toggle
-
- Rainmeter Sage
- Posts: 16147
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Measure Toggle
Yeah, probably the UpdateRateSeconds=29 is quite low. With Update=60 (set up in the [Rainmeter] section), it means a connection to the site, each less than 2 seconds (29 x 60 = 1740 milliseconds = 1.74 seconds < 2 seconds). Setting this variable to 10000, means one update (connection) each 10 minutes (60 x 10000 = 600000 milliseconds = 600 seconds = 10 minutes). This is a reasonable interval, use it boldly.xenium wrote:Is it because the updaterate is set to a low value (29) ?
On the other hand, the [MeasureToggle] measure doesn't even have to be disabled (this I think you've thought to, when you said "We canceled the MeasureToggle"). It is needed by the working skin, to cycle the shown information, so don't disable it.
-
- Posts: 865
- Joined: January 4th, 2018, 9:52 pm
Re: Measure Toggle
I think we've solved the problem.balala wrote:Yeah, probably the UpdateRateSeconds=29 is quite low. With Update=60 (set up in the [Rainmeter] section), it means a connection to the site, each less than 2 seconds (29 x 60 = 1740 milliseconds = 1.74 seconds < 2 seconds). Setting this variable to 10000, means one update (connection) each 10 minutes (60 x 10000 = 600000 milliseconds = 600 seconds = 10 minutes). This is a reasonable interval, use it boldly.
On the other hand, the [MeasureToggle] measure doesn't even have to be disabled (this I think you've thought to, when you said "We canceled the MeasureToggle"). It is needed by the working skin, to cycle the shown information, so don't disable it.
I removed updatedivider , i went back to updaterate = 10000 and I changed the formula for MeasureToggle with:
[MeasureTime]
Measure=Time
Format=%S
[MeasureToggle]
Measure=Calc
Formula=MeasureTime
IfCondition=MeasureTime < 20
IfTrueAction=[!HideMeterGroup Parameters][!ShowMeterGroup Conditions][!HideMeterGroup Tomorrow]
IfCondition2=(MeasureTime >= 20) && (MeasureTime <= 40)
IfTrueAction2=[!ShowMeterGroup Parameters][!HideMeterGroup Conditions][!HideMeterGroup Tomorrow]
IfCondition3=MeasureTime > 40
IfTrueAction3=[!HideMeterGroup Conditions][!HideMeterGroup Parameters][!ShowMeterGroup Tomorrow]
-
- Rainmeter Sage
- Posts: 16147
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Measure Toggle
Very good solution , just one minor thing: the [MeasureToggle] measure isn't needed. The IfConditions can be added directly to the [MeasureTime] measure. Usually is a good idea to not increase the number of measures, especially if they aren't needed. And probably [MeasureToggle] isn't.xenium wrote:I think we've solved the problem.
I removed updatedivider , i went back to updaterate = 10000 and I changed the formula for MeasureToggle with:
One more: when you post code, please use the
Code: Select all
-
- Posts: 865
- Joined: January 4th, 2018, 9:52 pm
Re: Measure Toggle
Thank you for your specificationsbalala wrote:Very good solution , just one minor thing: the [MeasureToggle] measure isn't needed. The IfConditions can be added directly to the [MeasureTime] measure. Usually is a good idea to not increase the number of measures, especially if they aren't needed. And probably [MeasureToggle] isn't.
One more: when you post code, please use thetags, available through the Code button.Code: Select all