In a skin I have a variable First and other two variables Variable1 and Variable2. The possible values for First are 1 or 2. How can be used the Variable1 or Variable2, according to the value of First? I mean, that I'd like to have a #Variable1# or #Variable2#, according to value of First. I tried something like #Variable#First## or #Variable(#First#)#, but had no success.
Thanks
It is currently May 19th, 2024, 2:42 pm
Variable name in variable name
-
- Rainmeter Sage
- Posts: 16239
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
-
- Posts: 1740
- Joined: November 13th, 2012, 9:53 pm
Re: Variable name in variable name
something like:
Code: Select all
[boooo]
Measure=String
String=#First#
RegExpSubstitute=1
Substitute="^1$":"#Variable1#","^2$":"#Variable2#"
-
- Rainmeter Sage
- Posts: 16239
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania