The docs:https://docs.rainmeter.net/manual/variables/#Changing and https://docs.rainmeter.net/manual/bangs/#WriteKeyValue
They dont show a working example and i have no idea how to use this.
Just trying to make a single variable the past hour XD
Code: Select all
[Rainmeter]
Update=3000
AccurateText=1
DynamicWindowSize=1
[Variables]
;myVarX=50
[!WriteKeyValue Variables myVarX 500]
myVarX=[!WriteKeyValue Variables myVarX 500]
; @IncludeVariables=Box.inc
[Test]
Meter=Shape
; [!WriteKeyValue Test myVarX 500]
; Shape=Rectangle #myVarX#, #myVarX#, 200, 200 | FillColor 255,255,255 | StrokeWidth 0
Shape=Rectangle #myVarX#,0,200,200 | FillColor 255,255,255 | StrokeWidth 0
I wanted to know if i could take the height variable of a clock skin i have and just give that to the skin im making so i can update the skin im making more frequently than the clock, since i move my skin based on the height of the clock.
include and writekeyvalue could do this right?
I think i need my skin pretty fast as i want to add hover effects on icons.