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

Help: Rainmeter Skins • Re: Hide & Seek

$
0
0
I need a fourth eye for this..
I'm missing something simple here..
It's about setting and saving a variable. Setting the variable and saving it works, but switching the values ​​in the Rainmeter console doesn't work. What have I forgotten? Thats really an rookie thing! :x :headbang:
The Variable in the Console will get updatet if you refresh the whole skin.


Just an excerpt from the code (Down below)

Code:

[Rainmeter]Update=-1AccurateText=1DynamicWindowSize=1[Variables]Exit=0[YesNoButton]Group=SETTINGSContainer=ContainerMeter=ShapeShape=Rectangle ([Background:X]+320),([Background:YH]+200),(8*#ScaleX#),(8*#ScaleY#),8 | StrokeWidth 2 | Stroke Color 0,0,0,255 | Fill Color 0,0,0,255Shape2=Rectangle ([Background:X]+321),([Background:YH]+201),(6*#ScaleX#),(6*#ScaleY#),6 | StrokeWidth 1 | Stroke Color 0,0,0,255 | Fill Color ((#Exit#=1)?25:0),((#Exit#=1)?255:0),((#Exit#=1)?255:0),255Shape3=Rectangle ([Background:X]+450),([Background:YH]+200),(8*#ScaleX#),(8*#ScaleY#),8 | StrokeWidth 2 | Stroke Color 0,0,0,255 | Fill Color 0,0,0,255Shape4=Rectangle ([Background:X]+451),([Background:YH]+201),(6*#ScaleY#),6 | StrokeWidth 1 | Stroke Color 0,0,0,255 | Fill Color ((#Exit#=0)?25:0),((#Exit#=0)?255:0),((#Exit#=0)?255:0),255DynamicVariables=1AntiAlias=1Hidden=(#Show#<>3?1:0)[StringYes]Group=SETTINGSContainer=ContainerMeter=StringStringAlign=RightFontFace=RobotoFontWeight=450FontColor=255,255,255,150SolidColor=0,0,0,255StringEffect=BorderFontEffectColor=0,0,0,255FontSize=(12*Min(#ScaleX#,#ScaleY#))InlineSetting=Shadow | 1 | 1 | 2 | 0,0,0,255InlineSetting2=CharacterSpacing | (0.5*#ScaleX#) | (0.5*#ScaleX#)X=([Background:X]+360)Y=([Background:YH]+193)Text=YesDynamicVariables=1AntiAlias=1LeftMouseDownAction=[!SetVariable Exit "1"][!WriteKeyValue Variables Exit "1"][!UpdateMeter YesNoButton][!UpdateMeter *][!Log One][!Redraw]Hidden=(#Show#<>3?1:0)[StringNo]Group=SETTINGSContainer=ContainerMeter=StringStringAlign=RightFontFace=RobotoFontWeight=450FontColor=255,255,255,150SolidColor=0,0,0,255StringEffect=BorderFontEffectColor=0,0,0,255FontSize=(12*Min(#ScaleX#,#ScaleY#))InlineSetting=Shadow | 1 | 1 | 2 | 0,0,0,255InlineSetting2=CharacterSpacing | (0.5*#ScaleX#) | (0.5*#ScaleX#)X=([Background:W]-214)Y=([Background:YH]+193)Text=NoDynamicVariables=1AntiAlias=1LeftMouseDownAction=[!SetVariable Exit "0"][!WriteKeyValue Variables Exit "0"][!UpdateMeter YesNoButton][!UpdateMeter *][!Log Zero][!Redraw]Hidden=(#Show#<>3?1:0)
GIF´s (Down below)
Example With [!Log (Klick to play the GIF)
ezgif-5fefe437356b5e.gif


Example With RainmeterConsole (Klick to play the GIF)
ezgif-5e32d2df150c72 (1).gif
As far as I know, it doesn't matter the value on the log doesn't change as far as the variable is being set correctly as it appears to be your case, it will only change if you update RM, not only the meters, I think simply updating a single measure will make the value change. However you can try with an !Update bang and you will see it change.

Statistics: Posted by RicardoTM — Yesterday, 9:35 pm



Viewing all articles
Browse latest Browse all 1754

Trending Articles