SetVariable/Dynamic Variable Help
Posted: August 8th, 2010, 3:11 am
Im hoping someone sees something I'm not... this should be working, but it is not.
So as you can probably see, there are multiple swatches you click to select, then you click the dropper to grab the color for that particular swatch... however as it stands, if you click the swatch then the dropper, it fails.
If I pull out the setvariable and just use #Swatch1Select# in place of #SwatchSelect# it works fine. However if I take out the set variable and use the same code as above except make SwatchSelect=#Swatch1Select#, it fails....
Thanks.
Code: Select all
[Variables]
.
.
.
SwatchSelect=1
Swatch1Select=["#ADDONSPATH#NirCmd\Nircmd.exe" inisetval "#SKINSPATH#ColorSet/GetUnderColor.ini" "ColorTarget" "ImageTint" "#Swatch1#"]["#ADDONSPATH#NirCmd\Nircmd.exe" inisetval "#SKINSPATH#ColorSet/GetUnderColor.ini" "SelectIcon" "LeftMouseUpAction" "!Execute #Swatch1Bang#"][!RainmeterActivateConfig ColorSet GetUnderColor.ini]
[DropperBtnOver]
Meter=Image
ImageName=..\img\dropper_over.png
W=18
H=18
X=20
Y=5
LeftMouseDoubleClickAction=!Execute #SwatchSelect#
DynamicVariables=1
[Swatch1]
Meter=Image
ImageName=..\img\swatch.png
ImageTint=#Swatch1#
W=11
H=37
X=48
Y=12
LeftMouseDownAction=!RainmeterSetVariable SwatchSelect #Swatch1Select#
If I pull out the setvariable and just use #Swatch1Select# in place of #SwatchSelect# it works fine. However if I take out the set variable and use the same code as above except make SwatchSelect=#Swatch1Select#, it fails....
Thanks.