It is currently April 19th, 2024, 11:54 am
General topics related to Rainmeter.
kyriakos876
Posts: 919 Joined: January 30th, 2017, 2:01 am
Location: Greece
Post
by kyriakos876 » March 10th, 2017, 4:32 pm
jsmorley wrote: Yeah, !Refresh is kinda brute force, but that will work.
One more thing. How can I escape the #CURRENTSECTION# in
Code: Select all
[!SetOption #CURRENTSECTION# ImageName "Hover.png"]
Because I want to set a variable in the Variables.ini file but having ## inside of ## doesn't work... I tried using the asterisk * and make a variable like
Code: Select all
[!SetOption #*CURRENTSECTION*# ImageName "Hover.png"]
but this doesn't work either. Is it only possible by setting the Variable in the same file as the meter that's using the variable?
jsmorley
Developer
Posts: 22629 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » March 10th, 2017, 4:35 pm
kyriakos876 wrote: One more thing. How can I escape the #CURRENTSECTION# in
Code: Select all
[!SetOption #CURRENTSECTION# ImageName "Hover.png"]
Because I want to set a variable in the Variables.ini file but having ## inside of ## doesn't work... I tried using the asterisk * and make a variable like
Code: Select all
[!SetOption #*CURRENTSECTION*# ImageName "Hover.png"]
but this doesn't work either. Is it only possible by setting the Variable in the same file as the meter that's using the variable?
You can't use #CURRENTSECTION# in [Variables] as it will always just return "Variables".
kyriakos876
Posts: 919 Joined: January 30th, 2017, 2:01 am
Location: Greece
Post
by kyriakos876 » March 10th, 2017, 4:35 pm
kyriakos876 wrote:
Is it only possible by setting the Variable in the same file as the meter that's using the variable?
Nevermind that sentence :P it's not like it's gonna work if I do that as I still have ## inside of ##
kyriakos876
Posts: 919 Joined: January 30th, 2017, 2:01 am
Location: Greece
Post
by kyriakos876 » March 10th, 2017, 4:36 pm
jsmorley wrote: You can't use #CURRENTSECTION# in [Variables] as it will always just return "Variables".
Oh okay. Thanks