When you're enclosing an expression into parenthesis, Rainmeter wants to calculate immediately that expression, the parenthesis expressing it's a mathematical formula (this is why on a String meter for instance, using a FontSize=2*#MyVar# option the size of the font is set to 2, no matter the value of the MyVar variable, while FontSize=(2*#MyVar#) option - using the parenthesis - sets the size of the font to twice the value of the MyVar variable - see the importance of the parenthesis). If you omit the parenthesis, Rainmeter sets for the Corners variable the #Width#*(1/10) value, as a string and the expression is calculated only when the variable is used (in this case on the [shapeMeter] meter).Any idea why?
Obviously this is not too obvious, it can't be, but for people working continuously with Rainmeter codes, this is a known detail.
Glad if you got it working well, using this "trick".
Statistics: Posted by balala — Today, 12:33 pm