It is currently September 29th, 2024, 3:38 pm

Calc external variables

General topics related to Rainmeter.
User avatar
rbriddickk84
Rainmeter Sage
Posts: 276
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Calc external variables

Post by rbriddickk84 »

jsmorley wrote:Don't know. The name of variables is not particularly relevant, as long as you stay away from spaces or special characters in them, and don't create some kind of logic conflict by using the same #VarName# different places to do conflicting things.
No, the logic and system are the same. Well i will try to rename what i can, to find out maybe somewhere will do some difference.
Thank you for your help!!!
User avatar
rbriddickk84
Rainmeter Sage
Posts: 276
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Calc external variables

Post by rbriddickk84 »

Somehow it started to work. I didn't change the variable names, only the Calc method:

Code: Select all


[Check]
Measure=Calc
Formula=(#a# > #b#) ? 1 : 0
ifEqualValue=1
ifEqualAction=[!SetVariable run 5]
DynamicVariables=1
Now this way is working well! Maybe the ifCondition caused something? I don't know.
User avatar
jsmorley
Developer
Posts: 22790
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Calc external variables

Post by jsmorley »

"Any sufficiently advanced technology is indistinguishable from magic."
User avatar
rbriddickk84
Rainmeter Sage
Posts: 276
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Calc external variables

Post by rbriddickk84 »

jsmorley wrote:"Any sufficiently advanced technology is indistinguishable from magic."
xD That sir is absolutely right! :D