Sorry we couldn't help more, but that's it...
It is currently April 19th, 2024, 4:44 pm
Update a measure in a skin group
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
-
- Rainmeter Sage
- Posts: 7125
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Update a measure in a skin group
Just curious, have you tried my suggestion, and if so, did it work?
-
- Posts: 424
- Joined: February 8th, 2015, 10:07 pm
- Location: EU, Denmark.
Re: Update a measure in a skin group
Not yet. At work rn.Yincognito wrote: ↑October 16th, 2020, 11:43 am Just curious, have you tried my suggestion, and if so, did it work?
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))
-
- Rainmeter Sage
- Posts: 7125
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
-
- Posts: 424
- Joined: February 8th, 2015, 10:07 pm
- Location: EU, Denmark.
Re: Update a measure in a skin group
Woot, They both worked!Yincognito wrote: ↑October 16th, 2020, 11:43 am Just curious, have you tried my suggestion, and if so, did it work?
Neat workaround, sending the bang to all skins.
I like [!UpdateMeasure mColorSource *] because of the simplicity, but it throws errors from all of the skins where the measure is not present.
Although mColorSource is the only measure in the group, I ended up using [!UpdateMeasureGroup ColorSource *].
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))
-
- Rainmeter Sage
- Posts: 7125
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Update a measure in a skin group
Yep, as expected. Although... are you sure those were "errors" and not "warnings" in the Log? I doubt that such an action would produce errors, warnings seem more logical in my view. But then, it's a small price to pay for the approach working - which I'm glad it happened.StArL0rd84 wrote: ↑October 16th, 2020, 3:24 pm Woot, They both worked!
Neat workaround, sending the bang to all skins.
I like [!UpdateMeasure mColorSource *] because of the simplicity, but it throws errors from all of the skins where the measure is not present.
Although mColorSource is the only measure in the group, I ended up using [!UpdateMeasureGroup ColorSource *].
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Update a measure in a skin group
Normaly. * means all loaded skins, so the above bang would like to update the [mColorSource] measure in ALL skins. Since most of them probably don't have such a measure, error messages will be thrown in log. Not recommend to use this form of the bang, almost never can be executed without errors.StArL0rd84 wrote: ↑October 16th, 2020, 3:24 pm I like [!UpdateMeasure mColorSource *] because of the simplicity, but it throws errors from all of the skins where the measure is not present.
Using the above !UpdateMeasureGroup bang is a much better idea, because error messages won't be shown in log, not even if a ColorSource measure group doesn't exist.StArL0rd84 wrote: ↑October 16th, 2020, 3:24 pm Although mColorSource is the only measure in the group, I ended up using [!UpdateMeasureGroup ColorSource *].