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

[Suggestion] Read variable within an ini/inc without Including it

$
0
0
Eg.

[!ReadVariable MyVariable MyVariable1 “My\Variable1\Location.ini”]

[!ReadVariable MyVariable MyVariable2 “My\Variable2\Location.ini”]

[!ReadVariable MyVariable MyVariable3 “My\Variable3\Location.ini”]

Creates variables:

MyVariable1=Value1
MyVariable2=Value2
MyVariable3=Value3

I have multiple inc files that contain a variable of the same name by design, and therefor an Include= would not work. But if I can read that variable value, and assign it a different name, I can set multiple values from a variable of the same name from multiple files.

Statistics: Posted by Cariboudjan — Today, 3:14 pm — Replies 3 — Views 49



Viewing all articles
Browse latest Browse all 262

Latest Images

Trending Articles





Latest Images