Sometimes, I'd like to update all meters, update all measures, and redraw the skin, regardless of UpdateDivider=-1. So I've been using:
[!UpdateMeasure *][!UpdateMeter *][!Redraw]
Would love it if [!Update *] performed an update and updated all meters and measures, even if they are UpdateDivider=-1.
Or maybe an [!UpdateAll]?
It is currently March 29th, 2024, 5:06 am
[Suggestion] [!Update *]
-
- Posts: 264
- Joined: May 12th, 2019, 8:55 am
-
- Rainmeter Sage
- Posts: 2588
- Joined: March 23rd, 2015, 5:26 pm
Re: [Suggestion] [!Update *]
Isn't this already available? https://docs.rainmeter.net/manual/bangs/#Update
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [Suggestion] [!Update *]
SilverAzide wrote: ↑July 27th, 2021, 12:27 pm Isn't this already available? https://docs.rainmeter.net/manual/bangs/#Update
The difference is that !UpdateMeasure will override any UpdateDivider you might have on the measure. !Update does not.
I'm not opposed in principle, but I'm not sure we are going to add a new bang just to save a little typing....
[!UpdateAll]
Meaning:
[!UpdateMeasure *][!UpdateMeter *][!Redraw]
I would be opposed to "overloading" the !Update bang to have two entirely different meanings with !Update and !Update *
I get the charm of the whole idea, but it feels pretty "nice to have" to me. You never know though...
-
- Rainmeter Sage
- Posts: 2588
- Joined: March 23rd, 2015, 5:26 pm
-
- Rainmeter Sage
- Posts: 7029
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: [Suggestion] [!Update *]
One can create "shortcuts" to long chain of bangs (especially the non dynamic ones) using variables though:
Or, if he likes it more between square brackets in order to look more like a bang ... [#!UpdateAll].
Code: Select all
[Variables]
!UpdateAll=[!UpdateMeasure *][!UpdateMeter *][!Redraw]
...
...
...
[SomeMeter]
...
SomeAction=...#!UpdateAll#...
...
...
...
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [Suggestion] [!Update *]
True... Good point.Yincognito wrote: ↑July 27th, 2021, 2:42 pm One can create "shortcuts" to long chain of bangs (especially the non dynamic ones) using variables though:Or, if he likes it more between square brackets in order to look more like a bang ... [#!UpdateAll].Code: Select all
[Variables] !UpdateAll=[!UpdateMeasure *][!UpdateMeter *][!Redraw] ... ... ... [SomeMeter] ... SomeAction=...#!UpdateAll#... ... ... ...
-
- Rainmeter Sage
- Posts: 7029
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: [Suggestion] [!Update *]
I guess you could do even:
Code: Select all
...
...
...
[?UpdateAll]
Measure=String
String=[!UpdateMeasure *][!UpdateMeter *][!Redraw]
UpdateDivider=-1
...
...
...
[SomeMeter]
...
SomeAction=...[?UpdateAll]...
...
...
...
-
- Posts: 264
- Joined: May 12th, 2019, 8:55 am
Re: [Suggestion] [!Update *]
Yeah I'll probably start doing this. Thanks.Yincognito wrote: ↑July 27th, 2021, 2:42 pm One can create "shortcuts" to long chain of bangs (especially the non dynamic ones) using variables though:Or, if he likes it more between square brackets in order to look more like a bang ... [#!UpdateAll].Code: Select all
[Variables] !UpdateAll=[!UpdateMeasure *][!UpdateMeter *][!Redraw] ... ... ... [SomeMeter] ... SomeAction=...#!UpdateAll#... ... ... ...
-
- Rainmeter Sage
- Posts: 7029
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: [Suggestion] [!Update *]
Related to the original question, I realized just now that [!UpdateAll] might work, but there is a small problem with [!Update *], which can be already used to update all loaded skins. So probably this can't be used for the described operation.