Is there a way to refer *directly* to other config's variable?
So far, I think there is a way of indirect reference, and I am using it now.
That is, when set a variable, set it to another config at the same time to sync...like this.
[!SetVariable SomeVariable Value][!SetVariable SomeVariable Value AnotherConfig]
This is applicable enough, but I think somewhat redundant...
It is currently April 18th, 2024, 3:07 pm
Variable reference
-
- Posts: 908
- Joined: December 30th, 2015, 9:47 am
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Variable reference
No, there is no way to "pull" a value from one skin to another, you have to "push" from one skin to another as you demonstrated.mak_kawa wrote: ↑November 22nd, 2019, 12:21 am Is there a way to refer *directly* to other config's variable?
So far, I think there is a way of indirect reference, and I am using it now.
That is, when set a variable, set it to another config at the same time to sync...like this.
[!SetVariable SomeVariable Value][!SetVariable SomeVariable Value AnotherConfig]
This is applicable enough, but I think somewhat redundant...
-
- Posts: 908
- Joined: December 30th, 2015, 9:47 am
Re: Variable reference
Hi jsmorley
Thank you for quick clarification. I am now convinced.
Thank you for quick clarification. I am now convinced.
-
- Posts: 134
- Joined: June 30th, 2014, 8:44 am
Re: Variable reference
If you REALLY worked at it you could get the variables by reading rainmeter's memory and extracting them that way. But in like 99% of use cases just pushing from one skin to another is better than this.
-
- Posts: 908
- Joined: December 30th, 2015, 9:47 am
Re: Variable reference
Ah...not badly. As already said, the "push" method is applicable/practical for me, and actually I am using it to grab the condition of other skin config. But...yes, probaly I am fussy about such trivia.
-
- Rainmeter Sage
- Posts: 16143
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Variable reference
We all can trust in jsmorley's advices at least 110%.