It is currently July 13th, 2024, 4:10 pm

DynamicVariables=1 breaks image meter?

General topics related to Rainmeter.
<katoNkatoNK>
Posts: 1
Joined: March 19th, 2011, 10:35 am

DynamicVariables=1 breaks image meter?

Post by <katoNkatoNK> »

Hi Guys, i cant seem to find a solution for this, when i set DynamicVariables on an image meter '[BG]' it stops the meter from being shown/hidden by the tab in the skin, it has the same effect on the [Backing.Color] meter above it...

Note* - the skin is working 100% other than this..
>>Folders.ini

Code: Select all

[TAB]
Meter=BUTTON
ButtonImage=#ICNtab#\right_small.png
X=-5r
Y=-5r
LeftMouseDownAction=!Execute [#SMG# FLDR][#SMG# Page#DefaultPage#][#SMG# INACTIVE][#HM# INACTIVE.Page#DefaultPage#][#SM# ACTIVE.Page#DefaultPage#][#HM# TAB][#SM# TAB.Close]
Hidden=#UNTABBED#
DynamicVariables=1

[TAB.Close]
Meter=Button
ButtonImage=#ICNtab#\right_small.png
X=r
Y=r
LeftMouseDownAction=!Execute [#HMG# FLDR][#HMG# PageAll][#HMG# INACTIVE][#HMG# ACTIVE][#HM# TAB.Close][#SM# TAB]
Hidden=1

[TAB.Text]
Meter=IMAGE
MeterStyle=sFOLDERSlabel#FOLDER.Placement#
ImageName=#ICNlabels#\folders.png
X=5r
Y=5r
MouseActionCursor=0
DynamicVAriables=1
Hidden=#UNTABBED#

;Background:::::::::::::::::::::

[BACKING.Color]
Meter=IMAGE
MeterStyle=sBG
X=5
Y=5
W=240
H=60
Group=FLDR
Hidden=#TABBED#

[BG]
Meter=IMAGE
ImageName=#BG#\launcherbg.png
X=-5r
Y=-5r
MouseOverAction=!Execute [#SMG# INACTIVE][#HM# INACTIVE.Page#DefaultPage#][#SM# ACTIVE.Page#DefaultPage#][#RD#]
MouseActionCursor=0
Group=FLDR
Hidden=#TABBED#
Last edited by <katoNkatoNK> on May 9th, 2023, 9:52 am, edited 1 time in total.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: DynamicVariables=1 breaks image meter?

Post by poiru »

This is a known limitation. If the state of Hidden= is determined by a variable and if DynamicVariables=1 is enabled for that meter, Show/Hide bangs won't work. Instead, you'll have to adjust the variable.