Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 822

Bugs & Feature Suggestions • [Suggestion] Read variable within an ini/inc without Including it

$
0
0
No. That won’t work. Because each file does not know if it is Variable1, Variable2, Variable3, etc.

And since Variable Names cannot themselves contain variables that’s not possible.

Eg. Variable#IndexNum#=Value

You’re talking about adding fixed values but the point is for making something dynamic. Eg. Modules that are customizable for a skin, that each contain variables of the same name, but need to be read by a central skin independently in order to control them.

What MIGHT be possible, but haven’t tested is:



@include1=My\Variable1\Location.ini

NewVariable1=#MyVariable#

@include2=My\Variable2\Location.ini

NewVariable2=#MyVariable#



But I’m 99% positive the variables do not parse linearly this way.

Statistics: Posted by Cariboudjan — Today, 5:38 pm — Replies 2 — Views 31



Viewing all articles
Browse latest Browse all 822

Trending Articles