It is currently March 28th, 2024, 10:47 am

[Feature Suggestion] UpdateMultiplier

Report bugs with the Rainmeter application and suggest features.
Post Reply
Omardude
Posts: 22
Joined: December 2nd, 2009, 7:05 pm

[Feature Suggestion] UpdateMultiplier

Post by Omardude »

Basically it would be the opposite of UpdateDivider:

Code: Select all

UpdateMultiplier
This value modifies the update rate of the measure. The global Update value (set in the [Rainmeter] section) is divided by this number to determine the update rate for the measure. For example, if the Update is set to 1000 and the UpdateMultiplier is 2, the measure is updated every 0.5 seconds. The default value is 1.
I realize that this might not be a huge priority, but in certain skins, particularly those with a high number of lines with code, this could very useful.
Example: A skin with several measures that have an update rate of 1000, and one measure with an update rate of 500. With an UpdateMultiplier you would only have to add that to the one measure, instead of an UpdateDivider for every other measure.

What do you think?
User avatar
CyberOfficial
Posts: 3
Joined: December 1st, 2019, 2:35 am
Location: Houston, TX
Contact:

Re: [Feature Suggestion] UpdateMultiplier

Post by CyberOfficial »

Hate to awaken a thread that's almost 10 years old, but I'd make use of this feature, even if it's just for convenience.
User avatar
Yamajac
Posts: 134
Joined: June 30th, 2014, 8:44 am

Re: [Feature Suggestion] UpdateMultiplier

Post by Yamajac »

Just use a low update rate with a high DefaultUpdateDivider, then use UpdateDivider = 1 on the measures that need to run faster.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [Feature Suggestion] UpdateMultiplier

Post by jsmorley »

CyberOfficial wrote: December 1st, 2019, 2:37 am Hate to awaken a thread that's almost 10 years old, but I'd make use of this feature, even if it's just for convenience.
https://docs.rainmeter.net/manual/skins/rainmeter-section/#DefaultUpdateDivider

Code: Select all

[Rainmeter]
Update=500
DynamicWindowSize=1
AccurateText=1
DefaultUpdateDivider=2

[Variables]

[MeasureOne]
Measure=Calc
Formula=MeasureOne+1
UpdateDivider=1

[MeasureTwo]
Measure=Calc
Formula=MeasureTwo+1

[MeasureThree]
Measure=Calc
Formula=MeasureThree+1

[MeterString]
Meter=String
MeasureName=MeasureOne
MeasureName2=MeasureTwo
MeasureName3=MeasureThree
FontSize=15
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
UpdateDivider=1
Text=%1 | %2 | %3
User avatar
CyberOfficial
Posts: 3
Joined: December 1st, 2019, 2:35 am
Location: Houston, TX
Contact:

Re: [Feature Suggestion] UpdateMultiplier

Post by CyberOfficial »

Oh wow that works great! Thanks for the quick reply.
Post Reply