It is currently April 19th, 2019, 7:20 pm

Interlinked if or the way not to run a mesure

Help with creating, editing & fixing problems with skins
RNestaM
Posts: 12
Joined: April 9th, 2019, 5:59 pm

Re: Interlinked if or the way not to run a mesure

RNestaM » April 11th, 2019, 3:15 pm

Ok,
I tried an other way

One variable "VarDel" for control the measure : do the delete only if VarDel is to 1 ans VarDel is to one only by double click on cross.

One mesure for each row

Code: Select all

[DeleteRow9]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button9#=1)
IfTrueAction=[!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"]
Group=20
called by my button (delete cross)

Code: Select all

LeftMouseDoubleClickAction=[!WriteKeyValue Variables VarDel 1][!UpdateMeasure "DeleteRow9"][!UpdateMeasure "DeleteRow8"][!UpdateMeasure "DeleteRow7"][!UpdateMeasure "DeleteRow6"][!UpdateMeasure "DeleteRow5"][!UpdateMeasure "DeleteRow4"][!UpdateMeasure "DeleteRow3"][!UpdateMeasure "DeleteRow2"][!UpdateMeasure "DeleteRow1"][!UpdateMeasure "VarDel0"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!WriteKeyValue Variables VarDel 0][!redraw]
I put Vardel to 1 on my double click, i update every measure "delete" then i put vardel to 0

It doesn't work.
I think about every possibilities and i think i'm blocked by the fact that a measure return a result and my double click stop at the first measure.

I think that what i want is not possible by rainmeter or by a way i doesn't know but i search in the doc without positive resultat....

I even had VarDel to 1 without click on the cross.. it's horrible...
User avatar
balala
Rainmeter Sage
Posts: 8079
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Interlinked if or the way not to run a mesure

balala » April 11th, 2019, 6:20 pm

That doesn't look to be an easy task, however please post once again the last code you have in the way you have it.
RNestaM
Posts: 12
Joined: April 9th, 2019, 5:59 pm

Re: Interlinked if or the way not to run a mesure

RNestaM » April 11th, 2019, 10:30 pm

Yes indeed !

Code: Select all

[Rainmeter]
Update=1000

[Metadata]


[Variables]
Button1=0
Button2=0
Button3=0
Button4=0
Button5=0
Button6=0
Button7=0
Button8=0
Button9=0

VarDel=0

Input1=1
Input2=2
Input3=4
Input4=5
Input5=6
Input6=7
Input7=8
Input8=9
Input9=

GroupToggle=8

Font=Caviar Dreams

1=#@#Images\ToDo1.png
2=#@#Images\ToDo2.png

[TextStyle1]
FontFace=#Font#
FontColor=00BFFF
FontSize=13
StringEffect=Shadow
AntiAlias=1




[MeasureGroupToggle]
Measure=Calc
Formula=#GroupToggle#
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideMeterGroup "1"][!HideMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition2=(#CURRENTSECTION#=1)
IfTrueAction2=[!ShowMeterGroup "1"][!HideMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition3=(#CURRENTSECTION#=2)
IfTrueAction3=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition4=(#CURRENTSECTION#=3)
IfTrueAction4=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition5=(#CURRENTSECTION#=4)
IfTrueAction5=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition6=(#CURRENTSECTION#=5)
IfTrueAction6=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition7=(#CURRENTSECTION#=6)
IfTrueAction7=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition8=(#CURRENTSECTION#=7)
IfTrueAction8=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition9=(#CURRENTSECTION#=8)
IfTrueAction9=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!ShowMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition10=(#CURRENTSECTION#=9)
IfTrueAction10=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!ShowMeterGroup "8"][!ShowMeterGroup "9"][!Redraw]

DynamicVariables=1
[DeleteRow9]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button9#=1)
IfTrueAction=[!WriteKeyValue Variables Button9 0][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!UpdateMeasure "DeleteRow8"]
IfFalseAction=[!UpdateMeasure "DeleteRow8"]
Group=20
[DeleteRow8]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button8#=1)
IfTrueAction=[!WriteKeyValue Variables Button8 0][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!UpdateMeasure "DeleteRow7"]
IfFalseAction=[!UpdateMeasure "DeleteRow7"]
Group=20
[DeleteRow7]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button7#=1)
IfTrueAction=[!WriteKeyValue Variables Button7 0][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!UpdateMeasure "DeleteRow6"]
IfFalseAction=[!UpdateMeasure "DeleteRow6"]
Group=20
[DeleteRow6]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button6#=1)
IfTrueAction=[!WriteKeyValue Variables Button6 0][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!UpdateMeasure "DeleteRow5"]
IfFalseAction=[!UpdateMeasure "DeleteRow5"]
Group=20
[DeleteRow5]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button5#=1)
IfTrueAction=[!WriteKeyValue Variables Button5 0][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!UpdateMeasure "DeleteRow4"]
IfFalseAction=[!UpdateMeasure "DeleteRow4"]
Group=20
[DeleteRow4]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button4#=1)
IfTrueAction=[!WriteKeyValue Variables Button4 0][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!UpdateMeasure "DeleteRow3"]
IfFalseAction=[!UpdateMeasure "DeleteRow3"]
Group=20
[DeleteRow3]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button3#=1)
IfTrueAction=[!WriteKeyValue Variables Button3 0][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!UpdateMeasure "DeleteRow2"]
IfFalseAction=[!UpdateMeasure "DeleteRow2"]
Group=20
[DeleteRow2]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button2#=1)
IfTrueAction=[!WriteKeyValue Variables Button2 0][!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!UpdateMeasure "DeleteRow1"]
IfFalseAction=[!UpdateMeasure "DeleteRow1"]
Group=20
[DeleteRow1]
Measure=Calc
Formula=0
IfCondition=(#VarDel#=1) && (#Button1#=1)
IfTrueAction=[!WriteKeyValue Variables Button1 0][!WriteKeyValue Variables Input1 "#Input2#"][!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!redraw][!WriteKeyValue Variables VarDel 0]
IfFalseAction=[!WriteKeyValue Variables VarDel 0]
Group=20









;[DeleteCase]
;Measure=Calc
;IfCondition=(#Button1#=1)
;IfTrueAction=[!WriteKeyValue Variables Button1 "0"][!WriteKeyValue Variables Input1 "#Input2#"][!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]
;IfCondition2=(#Button2#=1)
;IfTrueAction2=[!WriteKeyValue Variables Button2 "0"][!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]
;IfCondition3=(#Button3#=1)
;IfTrueAction3=[!WriteKeyValue Variables Button3 "0"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]
;IfCondition4=(#Button4#=1)
;IfTrueAction4=[!WriteKeyValue Variables Button4 "0"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]
;IfCondition5=(#Button5#=1)
;IfTrueAction5=[!WriteKeyValue Variables Button5 "0"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]
;IfCondition6=(#Button6#=1)
;IfTrueAction6=[!WriteKeyValue Variables Button6 "0"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]
;IfCondition7=(#Button7#=1)
;IfTrueAction7=[!WriteKeyValue Variables Button7 "0"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]
;IfCondition8=(#Button8#=1)
;IfTrueAction8=[!WriteKeyValue Variables Button8 "0"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]
;IfCondition9=(#Button9#=1)
;IfTrueAction9=[!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"]

[MeasureButton1]
Measure=Calc
Formula=#Button1#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button1 ButtonImage "#*1*#"][!UpdateMeter "Button1"][!Redraw]
IfFalseAction=[!SetOption Button1 ButtonImage "#*2*#"][!UpdateMeter "Button1"][!Redraw]
DynamicVariables=1
Groupe=30

[MeasureButton2]
Measure=Calc
Formula=#Button2#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button2 ButtonImage "#*1*#"][!UpdateMeter "Button2"][!Redraw]
IfFalseAction=[!SetOption Button2 ButtonImage "#*2*#"][!UpdateMeter "Button2"][!Redraw]
DynamicVariables=1
Groupe=30

[MeasureButton3]
Measure=Calc
Formula=#Button3#
IfCondition=(#CURRENTSECTION#=0)
LeftMouseUpAction=
IfTrueAction=[!SetOption Button3 ButtonImage "#*1*#"][!UpdateMeter "Button3"][!Redraw]
IfFalseAction=[!SetOption Button3 ButtonImage "#*2*#"][!UpdateMeter "Button3"][!Redraw]
DynamicVariables=1
Groupe=30

[MeasureButton4]
Measure=Calc
Formula=#Button4#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button4 ButtonImage "#*1*#"][!UpdateMeter "Button4"][!Redraw]
IfFalseAction=[!SetOption Button4 ButtonImage "#*2*#"][!UpdateMeter "Button4"][!Redraw]
DynamicVariables=1
Groupe=30

[MeasureButton5]
Measure=Calc
Formula=#Button5#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button5 ButtonImage "#*1*#"][!UpdateMeter "Button5"][!Redraw]
IfFalseAction=[!SetOption Button5 ButtonImage "#*2*#"][!UpdateMeter "Button5"][!Redraw]
DynamicVariables=1
Groupe=30

[MeasureButton6]
Measure=Calc
Formula=#Button6#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button6 ButtonImage "#*1*#"][!UpdateMeter "Button6"][!Redraw]
IfFalseAction=[!SetOption Button6 ButtonImage "#*2*#"][!UpdateMeter "Button6"][!Redraw]
DynamicVariables=1
Groupe=30

[MeasureButton7]
Measure=Calc
Formula=#Button7#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button7 ButtonImage "#*1*#"][!UpdateMeter "Button7"][!Redraw]
IfFalseAction=[!SetOption Button7 ButtonImage "#*2*#"][!UpdateMeter "Button7"][!Redraw]
DynamicVariables=1
Groupe=30

[MeasureButton8]
Measure=Calc
Formula=#Button8#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button8 ButtonImage "#*1*#"][!UpdateMeter "Button8"][!Redraw]
IfFalseAction=[!SetOption Button8 ButtonImage "#*2*#"][!UpdateMeter "Button8"][!Redraw]
DynamicVariables=1
Groupe=30

[MeasureButton9]
Measure=Calc
Formula=#Button9#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button9 ButtonImage "#*1*#"][!UpdateMeter "Button9"][!Redraw]
IfFalseAction=[!SetOption Button9 ButtonImage "#*2*#"][!UpdateMeter "Button9"][!Redraw]
DynamicVariables=1
Groupe=30


[UserInput1]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=22
w=185
h=22
DefaultValue=#Input1#
Command1=[!WriteKeyValue Variables Input1 "$UserInput$" ]
Command2=[!SetVariable Input1 "[UserInput1]"]

[UserInput2]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=44
w=185
h=22
DefaultValue=#Input2#
Command1=[!WriteKeyValue Variables Input2 "$UserInput$" ]
Command2=[!SetVariable Input2 "[UserInput2]"]

[UserInput3]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=70
w=185
h=22
DefaultValue=#Input3#
Command1=[!WriteKeyValue Variables Input3 "$UserInput$" ]
Command2=[!SetVariable Input3 "[UserInput3]"]

[UserInput4]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=97
w=185
h=22
DefaultValue=#Input4#
Command1=[!WriteKeyValue Variables Input4 "$UserInput$" ]
Command2=[!SetVariable Input4 "[UserInput4]"]

[UserInput5]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=122
w=185
h=22
DefaultValue=#Input5#
Command1=[!WriteKeyValue Variables Input5 "$UserInput$" ]
Command2=[!SetVariable Input5 "[UserInput5]"]

[UserInput6]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=149
w=185
h=22
DefaultValue=#Input6#
Command1=[!WriteKeyValue Variables Input6 "$UserInput$" ]
Command2=[!SetVariable Input6 "[UserInput6]"]

[UserInput7]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=174
w=185
h=22
DefaultValue=#Input7#
Command1=[!WriteKeyValue Variables Input7 "$UserInput$" ]
Command2=[!SetVariable Input7 "[UserInput7]"]

[UserInput8]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=200
w=185
h=22
DefaultValue=#Input8#
Command1=[!WriteKeyValue Variables Input8 "$UserInput$" ]
Command2=[!SetVariable Input8 "[UserInput8]"]

[UserInput9]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=228
w=185
h=22
DefaultValue=#Input9#
Command1=[!WriteKeyValue Variables Input9 "$UserInput$" ]
Command2=[!SetVariable Input9 "[UserInput9]"]


[Button1]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button1 "(1-#Button1#)"][!UpdateMeasure "MeasureButton1"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=1
Hidden=0
[Fond1]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=25
Group=1
MouseOverAction=[!ShowMeterGroup 1D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 1D][!Redraw]
[SIIconLine1Delete]
Meter=IMAGE
X=195
Y=25
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input1 "#Input2#"][!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]
Group=1D
AntiAlias=0

[Button2]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button2 "(1-#Button2#)"][!UpdateMeasure "MeasureButton2"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=2
Hidden=0
[Fond2]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=2
MouseOverAction=[!ShowMeterGroup 2D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 2D][!Redraw]
[SIIconLine2Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]
Group=2D
AntiAlias=0

[Button3]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button3 "(1-#Button3#)"][!UpdateMeasure "MeasureButton3"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=3
Hidden=0
[Fond3]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=3
MouseOverAction=[!ShowMeterGroup 3D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 3D][!Redraw]
[SIIconLine3Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]
Group=3D
AntiAlias=0

[Button4]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button4 "(1-#Button4#)"][!UpdateMeasure "MeasureButton4"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=4
Hidden=0
[Fond4]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=4
MouseOverAction=[!ShowMeterGroup 4D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 4D][!Redraw]
[SIIconLine4Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]
Group=4D
AntiAlias=0

[Button5]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button5 "(1-#Button5#)"][!UpdateMeasure "MeasureButton5"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=5
Hidden=0
[Fond5]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=5
MouseOverAction=[!ShowMeterGroup 5D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 5D][!Redraw]
[SIIconLine5Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]
Group=5D
AntiAlias=0

[Button6]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button6 "(1-#Button6#)"][!UpdateMeasure "MeasureButton6"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=6
Hidden=0
[Fond6]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=6
MouseOverAction=[!ShowMeterGroup 6D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 6D][!Redraw]
[SIIconLine6Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]
Group=6D
AntiAlias=0

[Button7]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button7 "(1-#Button7#)"][!UpdateMeasure "MeasureButton7"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=7
Hidden=0
[Fond7]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=7
MouseOverAction=[!ShowMeterGroup 7D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 7D][!Redraw]
[SIIconLine7Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]
Group=7D
AntiAlias=0

[Button8]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button8 "(1-#Button8#)"][!UpdateMeasure "MeasureButton8"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=8
Hidden=0
[Fond8]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=8
MouseOverAction=[!ShowMeterGroup 8D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 8D][!Redraw]
[SIIconLine8Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]
Group=8D
AntiAlias=0

[Button9]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button9 "(1-#Button9#)"][!UpdateMeasure "MeasureButton9"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=9
Hidden=0
[Fond9]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=9
MouseOverAction=[!ShowMeterGroup 9D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 9D][!Redraw]
[SIIconLine9Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=!Execute [!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!Refresh]Group=9D
Group=9D
AntiAlias=0

[Text1]
Meter=String
Text=#Input1#
SolidColor=0,0,0,1
x=20
y=22
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput1" "ExecuteBatch 1-2"
DynamicVariables=1
Group=1
Hidden=0

[Text2]
Meter=String
Text=#Input2#
SolidColor=0,0,0,1
x=20
y=23r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput2" "ExecuteBatch 1-2"
DynamicVariables=1
Group=2
Hidden=0

[Text3]
Meter=String
Text=#Input3#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput3" "ExecuteBatch 1-2"
DynamicVariables=1
Group=3
Hidden=0

[Text4]
Meter=String
Text=#Input4#
SolidColor=0,0,0,1
x=20
y=27r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput4" "ExecuteBatch 1-2"
DynamicVariables=1
Group=4
Hidden=0

[Text5]
Meter=String
Text=#Input5#
SolidColor=0,0,0,1
x=20
y=27r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput5" "ExecuteBatch 1-2"
DynamicVariables=1
Group=5
Hidden=0

[Text6]
Meter=String
Text=#Input6#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput6" "ExecuteBatch 1-2"
DynamicVariables=1
Group=6
Hidden=0

[Text7]
Meter=String
Text=#Input7#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput7" "ExecuteBatch 1-2"
DynamicVariables=1
Group=7
Hidden=0

[Text8]
Meter=String
Text=#Input8#
SolidColor=0,0,0,1
x=20
y=26r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput8" "ExecuteBatch 1-2"
DynamicVariables=1
Group=8
Hidden=0

[Text9]
Meter=String
Text=#Input9#
SolidColor=0,0,0,1
x=20
y=24r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=!CommandMeasure "UserInput9" "ExecuteBatch 1-2"
DynamicVariables=1
Group=9
Hidden=0


[Plus]
Meter=String
Text="+"
SolidColor=0,0,0,1
x=0
y=0
MeterStyle=TextStyle1
LeftMouseUpAction=[!WriteKeyValue Variables GroupToggle "(#GroupToggle#+1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!refresh]
DynamicVariables=1

[Minus]
Meter=String
Text="-"
SolidColor=0,0,0,1
x=22r
y=0
MeterStyle=TextStyle1
LeftMouseUpAction=[!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!refresh]
DynamicVariables=1

;[VarDel0]
;Measure=Calc
;Formula=#VarDel# = 0 ? 0 : 1)
;IfEqualValue=1
;IfEqualAction=[!WriteKeyValue Variables VarDel 0]
;Group=20

[DeleteAll]
Meter=IMAGE
ImageName=#@#Images\Delete.png
x=44r
y=0
LeftMouseDownAction=[!WriteKeyValue Variables VarDel 1][!UpdateMeasure "DeleteRow9"][!UpdateMeasure "MeasureGroupToggle"][!UpdateMeter "Plus"][!UpdateMeter "Minus"][!UpdateGroup 30]
LeftMouseUpAction=[!redraw][!refresh]

;[!UpdateMeasure "DeleteRow8"][!UpdateMeasure "DeleteRow7"][!UpdateMeasure "DeleteRow6"][!UpdateMeasure "DeleteRow5"][!UpdateMeasure "DeleteRow4"][!UpdateMeasure "DeleteRow3"][!UpdateMeasure "DeleteRow2"][!UpdateMeasure "DeleteRow1"]
User avatar
balala
Rainmeter Sage
Posts: 8079
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Interlinked if or the way not to run a mesure

balala » April 13th, 2019, 7:46 pm

Unfortunately I can't figure out a good way to do this. Maybe someone else here?
RNestaM
Posts: 12
Joined: April 9th, 2019, 5:59 pm

Re: Interlinked if or the way not to run a mesure

RNestaM » April 14th, 2019, 9:13 am

Thanks to you anyway ;)
Yincognito
Posts: 652
Joined: February 27th, 2015, 2:38 pm

Re: Interlinked if or the way not to run a mesure

Yincognito » April 14th, 2019, 7:32 pm

RNestaM wrote:
April 11th, 2019, 3:15 pm
It doesn't work.
I think about every possibilities and i think i'm blocked by the fact that a measure return a result and my double click stop at the first measure.

I think that what i want is not possible by rainmeter or by a way i doesn't know but i search in the doc without positive resultat....

I even had VarDel to 1 without click on the cross.. it's horrible...
balala wrote:
April 13th, 2019, 7:46 pm
Unfortunately I can't figure out a good way to do this. Maybe someone else here?
There you go (I used the version uploaded on Google Drive as a base, and not the one you modified afterwards):

Code: Select all

[Rainmeter]
Update=1000

[Metadata]


[Variables]
Button0=0

Button1=0
Button2=0
Button3=0
Button4=0
Button5=0
Button6=0
Button7=0
Button8=0
Button9=0

Input1=1
Input2=2
Input3=3
Input4=4
Input5=5
Input6=6
Input7=7
Input8=8
Input9=9

TInput1=
TInput2=
TInput3=
TInput4=
TInput5=
TInput6=
TInput7=
TInput8=
TInput9=

GroupToggle=9
TIndex=1
Selected=0

Font=Caviar Dreams

1=#@#Images\ToDo1.png
2=#@#Images\ToDo2.png

[TextStyle1]
FontFace=#Font#
FontColor=00BFFF
FontSize=13
StringEffect=Shadow
AntiAlias=1




[MeasureGroupToggle]
Measure=Calc
Formula=#GroupToggle#
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideMeterGroup "1"][!HideMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition2=(#CURRENTSECTION#=1)
IfTrueAction2=[!ShowMeterGroup "1"][!HideMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition3=(#CURRENTSECTION#=2)
IfTrueAction3=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition4=(#CURRENTSECTION#=3)
IfTrueAction4=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition5=(#CURRENTSECTION#=4)
IfTrueAction5=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition6=(#CURRENTSECTION#=5)
IfTrueAction6=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition7=(#CURRENTSECTION#=6)
IfTrueAction7=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition8=(#CURRENTSECTION#=7)
IfTrueAction8=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition9=(#CURRENTSECTION#=8)
IfTrueAction9=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!ShowMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition10=(#CURRENTSECTION#=9)
IfTrueAction10=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!ShowMeterGroup "8"][!ShowMeterGroup "9"][!Redraw]

DynamicVariables=1


[Delete1]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button1#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input1#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete2]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button2#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input2#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete3]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button3#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input3#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete4]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button4#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input4#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete5]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button5#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input5#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete6]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button6#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input6#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete7]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button7#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input7#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete8]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button8#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input8#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete9]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button9#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input9#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[DeleteCase]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=1
IfTrueAction=[!WriteKeyValue Variables Input1 "#TInput1#"][!WriteKeyValue Variables Input2 "#TInput2#"][!WriteKeyValue Variables Input3 "#TInput3#"][!WriteKeyValue Variables Input4 "#TInput4#"][!WriteKeyValue Variables Input5 "#TInput5#"][!WriteKeyValue Variables Input6 "#TInput6#"][!WriteKeyValue Variables Input7 "#TInput7#"][!WriteKeyValue Variables Input8 "#TInput8#"][!WriteKeyValue Variables Input9 "#TInput9#"][!WriteKeyValue Variables Button1 "0"][!WriteKeyValue Variables Button2 "0"][!WriteKeyValue Variables Button3 "0"][!WriteKeyValue Variables Button4 "0"][!WriteKeyValue Variables Button5 "0"][!WriteKeyValue Variables Button6 "0"][!WriteKeyValue Variables Button7 "0"][!WriteKeyValue Variables Button8 "0"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle (#GroupToggle#-#Selected#)][!Refresh]
IfConditionMode=1
DynamicVariables=1


[MeasureButton1]
Measure=Calc
Formula=#Button1#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button1 ButtonImage "#*1*#"][!UpdateMeter "Button1"][!Redraw]
IfFalseAction=[!SetOption Button1 ButtonImage "#*2*#"][!UpdateMeter "Button1"][!Redraw]
DynamicVariables=1

[MeasureButton2]
Measure=Calc
Formula=#Button2#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button2 ButtonImage "#*1*#"][!UpdateMeter "Button2"][!Redraw]
IfFalseAction=[!SetOption Button2 ButtonImage "#*2*#"][!UpdateMeter "Button2"][!Redraw]
DynamicVariables=1

[MeasureButton3]
Measure=Calc
Formula=#Button3#
IfCondition=(#CURRENTSECTION#=0)
LeftMouseUpAction=
IfTrueAction=[!SetOption Button3 ButtonImage "#*1*#"][!UpdateMeter "Button3"][!Redraw]
IfFalseAction=[!SetOption Button3 ButtonImage "#*2*#"][!UpdateMeter "Button3"][!Redraw]
DynamicVariables=1

[MeasureButton4]
Measure=Calc
Formula=#Button4#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button4 ButtonImage "#*1*#"][!UpdateMeter "Button4"][!Redraw]
IfFalseAction=[!SetOption Button4 ButtonImage "#*2*#"][!UpdateMeter "Button4"][!Redraw]
DynamicVariables=1

[MeasureButton5]
Measure=Calc
Formula=#Button5#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button5 ButtonImage "#*1*#"][!UpdateMeter "Button5"][!Redraw]
IfFalseAction=[!SetOption Button5 ButtonImage "#*2*#"][!UpdateMeter "Button5"][!Redraw]
DynamicVariables=1

[MeasureButton6]
Measure=Calc
Formula=#Button6#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button6 ButtonImage "#*1*#"][!UpdateMeter "Button6"][!Redraw]
IfFalseAction=[!SetOption Button6 ButtonImage "#*2*#"][!UpdateMeter "Button6"][!Redraw]
DynamicVariables=1

[MeasureButton7]
Measure=Calc
Formula=#Button7#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button7 ButtonImage "#*1*#"][!UpdateMeter "Button7"][!Redraw]
IfFalseAction=[!SetOption Button7 ButtonImage "#*2*#"][!UpdateMeter "Button7"][!Redraw]
DynamicVariables=1

[MeasureButton8]
Measure=Calc
Formula=#Button8#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button8 ButtonImage "#*1*#"][!UpdateMeter "Button8"][!Redraw]
IfFalseAction=[!SetOption Button8 ButtonImage "#*2*#"][!UpdateMeter "Button8"][!Redraw]
DynamicVariables=1

[MeasureButton9]
Measure=Calc
Formula=#Button9#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button9 ButtonImage "#*1*#"][!UpdateMeter "Button9"][!Redraw]
IfFalseAction=[!SetOption Button9 ButtonImage "#*2*#"][!UpdateMeter "Button9"][!Redraw]
DynamicVariables=1


[UserInput1]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=22
w=185
h=22
DefaultValue=#Input1#
Command1=[!WriteKeyValue Variables Input1 "$UserInput$" ]
Command2=[!SetVariable Input1 "[UserInput1]"]

[UserInput2]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=44
w=185
h=22
DefaultValue=#Input2#
Command1=[!WriteKeyValue Variables Input2 "$UserInput$" ]
Command2=[!SetVariable Input2 "[UserInput2]"]

[UserInput3]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=70
w=185
h=22
DefaultValue=#Input3#
Command1=[!WriteKeyValue Variables Input3 "$UserInput$" ]
Command2=[!SetVariable Input3 "[UserInput3]"]

[UserInput4]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=97
w=185
h=22
DefaultValue=#Input4#
Command1=[!WriteKeyValue Variables Input4 "$UserInput$" ]
Command2=[!SetVariable Input4 "[UserInput4]"]

[UserInput5]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=122
w=185
h=22
DefaultValue=#Input5#
Command1=[!WriteKeyValue Variables Input5 "$UserInput$" ]
Command2=[!SetVariable Input5 "[UserInput5]"]

[UserInput6]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=149
w=185
h=22
DefaultValue=#Input6#
Command1=[!WriteKeyValue Variables Input6 "$UserInput$" ]
Command2=[!SetVariable Input6 "[UserInput6]"]

[UserInput7]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=174
w=185
h=22
DefaultValue=#Input7#
Command1=[!WriteKeyValue Variables Input7 "$UserInput$" ]
Command2=[!SetVariable Input7 "[UserInput7]"]

[UserInput8]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=200
w=185
h=22
DefaultValue=#Input8#
Command1=[!WriteKeyValue Variables Input8 "$UserInput$" ]
Command2=[!SetVariable Input8 "[UserInput8]"]

[UserInput9]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=228
w=185
h=22
DefaultValue=#Input9#
Command1=[!WriteKeyValue Variables Input9 "$UserInput$" ]
Command2=[!SetVariable Input9 "[UserInput9]"]


[Button1]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button1 "(1-#Button1#)"][!UpdateMeasure "MeasureButton1"][!UpdateMeter "#CURRENTSECTION#"][!refresh]
DynamicVariables=1
Group=1
Hidden=0
[Fond1]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=25
Group=1
MouseOverAction=[!ShowMeterGroup 1D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 1D][!Redraw]
[SIIconLine1Delete]
Meter=IMAGE
X=195
Y=25
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input1 "#Input2#"][!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button1 "#Button2#"][!WriteKeyValue Variables Button2 "#Button3#"][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=1D
AntiAlias=0

[Button2]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button2 "(1-#Button2#)"][!Refresh]
DynamicVariables=1
Group=2
Hidden=0
[Fond2]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=2
MouseOverAction=[!ShowMeterGroup 2D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 2D][!Redraw]
[SIIconLine2Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button2 "#Button3#"][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=2D
AntiAlias=0

[Button3]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button3 "(1-#Button3#)"][!Refresh]
DynamicVariables=1
Group=3
Hidden=0
[Fond3]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=3
MouseOverAction=[!ShowMeterGroup 3D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 3D][!Redraw]
[SIIconLine3Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=3D
AntiAlias=0

[Button4]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button4 "(1-#Button4#)"][!Refresh]
DynamicVariables=1
Group=4
Hidden=0
[Fond4]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=4
MouseOverAction=[!ShowMeterGroup 4D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 4D][!Redraw]
[SIIconLine4Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=4D
AntiAlias=0

[Button5]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button5 "(1-#Button5#)"][!Refresh]
DynamicVariables=1
Group=5
Hidden=0
[Fond5]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=5
MouseOverAction=[!ShowMeterGroup 5D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 5D][!Redraw]
[SIIconLine5Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=5D
AntiAlias=0

[Button6]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button6 "(1-#Button6#)"][!Refresh]
DynamicVariables=1
Group=6
Hidden=0
[Fond6]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=6
MouseOverAction=[!ShowMeterGroup 6D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 6D][!Redraw]
[SIIconLine6Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=6D
AntiAlias=0

[Button7]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button7 "(1-#Button7#)"][!Refresh]
DynamicVariables=1
Group=7
Hidden=0
[Fond7]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=7
MouseOverAction=[!ShowMeterGroup 7D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 7D][!Redraw]
[SIIconLine7Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=7D
AntiAlias=0

[Button8]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button8 "(1-#Button8#)"][!Refresh]
DynamicVariables=1
Group=8
Hidden=0
[Fond8]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=8
MouseOverAction=[!ShowMeterGroup 8D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 8D][!Redraw]
[SIIconLine8Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=8D
AntiAlias=0

[Button9]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button9 "(1-#Button9#)"][!Refresh]
DynamicVariables=1
Group=9
Hidden=0
[Fond9]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=9
MouseOverAction=[!ShowMeterGroup 9D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 9D][!Redraw]
[SIIconLine9Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=9D
AntiAlias=0

[Text1]
Meter=String
Text=#Input1#
SolidColor=0,0,0,1
x=20
y=22
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput1" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=1
Hidden=0

[Text2]
Meter=String
Text=#Input2#
SolidColor=0,0,0,1
x=20
y=23r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput2" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=2
Hidden=0

[Text3]
Meter=String
Text=#Input3#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput3" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=3
Hidden=0

[Text4]
Meter=String
Text=#Input4#
SolidColor=0,0,0,1
x=20
y=27r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput4" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=4
Hidden=0

[Text5]
Meter=String
Text=#Input5#
SolidColor=0,0,0,1
x=20
y=27r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput5" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=5
Hidden=0

[Text6]
Meter=String
Text=#Input6#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput6" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=6
Hidden=0

[Text7]
Meter=String
Text=#Input7#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput7" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=7
Hidden=0

[Text8]
Meter=String
Text=#Input8#
SolidColor=0,0,0,1
x=20
y=26r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput8" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=8
Hidden=0

[Text9]
Meter=String
Text=#Input9#
SolidColor=0,0,0,1
x=20
y=24r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput9" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=9
Hidden=0


[Plus]
Meter=String
Text="+"
SolidColor=0,0,0,1
x=0
y=0
MeterStyle=TextStyle1
LeftMouseUpAction=[!WriteKeyValue Variables GroupToggle "((#GroupToggle#>=9)?(9):(#GroupToggle#+1))"][!Refresh]
DynamicVariables=1

[Minus]
Meter=String
Text="-"
SolidColor=0,0,0,1
x=22r
y=0
MeterStyle=TextStyle1
LeftMouseUpAction=[!WriteKeyValue Variables Button#GroupToggle# "0"][!WriteKeyValue Variables GroupToggle "((#GroupToggle#<=0)?(0):(#GroupToggle#-1))"][!Refresh]
DynamicVariables=1

[DeleteSelected]
Meter=IMAGE
ImageName=#@#Images\Delete.png
x=10R
y=9
LeftMouseUpAction=[!EnableMeasureGroup "DeleteCaseGroup"][!UpdateMeasureGroup "DeleteCaseGroup"]
DynamicVariables=1
I corrected some errors and mistakes, deleted some unneeded code, simplified some things, enforced limits to the actions performed by + and - (they only increment or decrement GroupToggle in the 0..9 interval, which of course can be adjusted if necessary), unselected the inputs hidden by - (as it makes no sense to keep hidden inputs selected, after all) and of course added the "delete selected" icons/measures/meters/actions in the skin (the DeleteCaseGroup group). The delete of the selected items is done using temporary input variables (the TInputN variables, where 1<=N<=9), a temporary index (the TIndex variable) to store which temporary input to modify and a selected count (the Selected variable) which is used to calculate the new GroupToggle value. After duplicating the unselected InputN to the TInputN variables, the results are finally written to the skin, followed by a refresh.

I would recommend creating a "Select All" button in front of the +,- and x buttons at the top, to easily be able to select all the notes, if needed (without having to select each one of them individually). The same icon as the individual selection can be used, and can behave the same, except it would select everything instead of just a single input.

Good luck! It's a nice skin, I actually came to like it quite a lot, LOL...

NOTE: Button0 is a dummy variable and has no role. It is created when pressing - on an empty note list anyway, and didn't bothered to make a condition just to avoid creating it, since it doesn't affect in any way the behavior of the skin.
Yincognito
Posts: 652
Joined: February 27th, 2015, 2:38 pm

Re: Interlinked if or the way not to run a mesure

Yincognito » April 15th, 2019, 1:42 am

Since, as I said, I came to like your skin, here is the variant with a "Select All" / "Select None" button, for easy mass selection. When at least one of the individual buttons is not selected, the button's image is changed to a "not selected" image. Normally, in regular software, this "almost all selected" state is indicated by a "greyed" checkmark, but since such an image wasn't available, I decided to unselect the "Select All" button if not all the individual buttons are selected:

Code: Select all

[Rainmeter]
Update=1000

[Metadata]


[Variables]
Button0=0

Button1=0
Button2=0
Button3=0
Button4=0
Button5=0
Button6=0
Button7=0
Button8=0
Button9=0

Input1=1
Input2=2
Input3=3
Input4=4
Input5=5
Input6=6
Input7=7
Input8=8
Input9=9

TInput1=
TInput2=
TInput3=
TInput4=
TInput5=
TInput6=
TInput7=
TInput8=
TInput9=

GroupToggle=9
TIndex=1
Selected=0

ButtonAll=(((#Button1#=1)&&((#Button2#=1)||(#GroupToggle#<2))&&((#Button3#=1)||(#GroupToggle#<3))&&((#Button4#=1)||(#GroupToggle#<4))&&((#Button5#=1)||(#GroupToggle#<5))&&((#Button6#=1)||(#GroupToggle#<6))&&((#Button7#=1)||(#GroupToggle#<7))&&((#Button8#=1)||(#GroupToggle#<8))&&((#Button9#=1)||(#GroupToggle#<9)))?(1):(0))

Font=Caviar Dreams

1=#@#Images\ToDo1.png
2=#@#Images\ToDo2.png

[TextStyle1]
FontFace=#Font#
FontColor=00BFFF
FontSize=13
StringEffect=Shadow
AntiAlias=1




[MeasureGroupToggle]
Measure=Calc
Formula=#GroupToggle#
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideMeterGroup "1"][!HideMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition2=(#CURRENTSECTION#=1)
IfTrueAction2=[!ShowMeterGroup "1"][!HideMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition3=(#CURRENTSECTION#=2)
IfTrueAction3=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition4=(#CURRENTSECTION#=3)
IfTrueAction4=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition5=(#CURRENTSECTION#=4)
IfTrueAction5=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition6=(#CURRENTSECTION#=5)
IfTrueAction6=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition7=(#CURRENTSECTION#=6)
IfTrueAction7=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition8=(#CURRENTSECTION#=7)
IfTrueAction8=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition9=(#CURRENTSECTION#=8)
IfTrueAction9=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!ShowMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition10=(#CURRENTSECTION#=9)
IfTrueAction10=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!ShowMeterGroup "8"][!ShowMeterGroup "9"][!Redraw]

DynamicVariables=1


[Delete1]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button1#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input1#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete2]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button2#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input2#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete3]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button3#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input3#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete4]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button4#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input4#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete5]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button5#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input5#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete6]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button6#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input6#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete7]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button7#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input7#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete8]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button8#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input8#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete9]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button9#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input9#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[DeleteCase]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=1
IfTrueAction=[!WriteKeyValue Variables Input1 "#TInput1#"][!WriteKeyValue Variables Input2 "#TInput2#"][!WriteKeyValue Variables Input3 "#TInput3#"][!WriteKeyValue Variables Input4 "#TInput4#"][!WriteKeyValue Variables Input5 "#TInput5#"][!WriteKeyValue Variables Input6 "#TInput6#"][!WriteKeyValue Variables Input7 "#TInput7#"][!WriteKeyValue Variables Input8 "#TInput8#"][!WriteKeyValue Variables Input9 "#TInput9#"][!WriteKeyValue Variables Button1 "0"][!WriteKeyValue Variables Button2 "0"][!WriteKeyValue Variables Button3 "0"][!WriteKeyValue Variables Button4 "0"][!WriteKeyValue Variables Button5 "0"][!WriteKeyValue Variables Button6 "0"][!WriteKeyValue Variables Button7 "0"][!WriteKeyValue Variables Button8 "0"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle (#GroupToggle#-#Selected#)]
IfConditionMode=1
DynamicVariables=1


[MeasureButton1]
Measure=Calc
Formula=#Button1#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button1 ButtonImage "#*1*#"][!UpdateMeter "Button1"][!Redraw]
IfFalseAction=[!SetOption Button1 ButtonImage "#*2*#"][!UpdateMeter "Button1"][!Redraw]
DynamicVariables=1

[MeasureButton2]
Measure=Calc
Formula=#Button2#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button2 ButtonImage "#*1*#"][!UpdateMeter "Button2"][!Redraw]
IfFalseAction=[!SetOption Button2 ButtonImage "#*2*#"][!UpdateMeter "Button2"][!Redraw]
DynamicVariables=1

[MeasureButton3]
Measure=Calc
Formula=#Button3#
IfCondition=(#CURRENTSECTION#=0)
LeftMouseUpAction=
IfTrueAction=[!SetOption Button3 ButtonImage "#*1*#"][!UpdateMeter "Button3"][!Redraw]
IfFalseAction=[!SetOption Button3 ButtonImage "#*2*#"][!UpdateMeter "Button3"][!Redraw]
DynamicVariables=1

[MeasureButton4]
Measure=Calc
Formula=#Button4#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button4 ButtonImage "#*1*#"][!UpdateMeter "Button4"][!Redraw]
IfFalseAction=[!SetOption Button4 ButtonImage "#*2*#"][!UpdateMeter "Button4"][!Redraw]
DynamicVariables=1

[MeasureButton5]
Measure=Calc
Formula=#Button5#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button5 ButtonImage "#*1*#"][!UpdateMeter "Button5"][!Redraw]
IfFalseAction=[!SetOption Button5 ButtonImage "#*2*#"][!UpdateMeter "Button5"][!Redraw]
DynamicVariables=1

[MeasureButton6]
Measure=Calc
Formula=#Button6#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button6 ButtonImage "#*1*#"][!UpdateMeter "Button6"][!Redraw]
IfFalseAction=[!SetOption Button6 ButtonImage "#*2*#"][!UpdateMeter "Button6"][!Redraw]
DynamicVariables=1

[MeasureButton7]
Measure=Calc
Formula=#Button7#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button7 ButtonImage "#*1*#"][!UpdateMeter "Button7"][!Redraw]
IfFalseAction=[!SetOption Button7 ButtonImage "#*2*#"][!UpdateMeter "Button7"][!Redraw]
DynamicVariables=1

[MeasureButton8]
Measure=Calc
Formula=#Button8#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button8 ButtonImage "#*1*#"][!UpdateMeter "Button8"][!Redraw]
IfFalseAction=[!SetOption Button8 ButtonImage "#*2*#"][!UpdateMeter "Button8"][!Redraw]
DynamicVariables=1

[MeasureButton9]
Measure=Calc
Formula=#Button9#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button9 ButtonImage "#*1*#"][!UpdateMeter "Button9"][!Redraw]
IfFalseAction=[!SetOption Button9 ButtonImage "#*2*#"][!UpdateMeter "Button9"][!Redraw]
DynamicVariables=1


[MeasureButtonAll]
Measure=Calc
Formula=#ButtonAll#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption ButtonAll ButtonImage "#*1*#"][!UpdateMeter "ButtonAll"][!Redraw]
IfFalseAction=[!SetOption ButtonAll ButtonImage "#*2*#"][!UpdateMeter "ButtonAll"][!Redraw]
DynamicVariables=1


[UserInput1]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=22
w=185
h=22
DefaultValue=#Input1#
Command1=[!WriteKeyValue Variables Input1 "$UserInput$" ]
Command2=[!SetVariable Input1 "[UserInput1]"]

[UserInput2]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=44
w=185
h=22
DefaultValue=#Input2#
Command1=[!WriteKeyValue Variables Input2 "$UserInput$" ]
Command2=[!SetVariable Input2 "[UserInput2]"]

[UserInput3]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=70
w=185
h=22
DefaultValue=#Input3#
Command1=[!WriteKeyValue Variables Input3 "$UserInput$" ]
Command2=[!SetVariable Input3 "[UserInput3]"]

[UserInput4]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=97
w=185
h=22
DefaultValue=#Input4#
Command1=[!WriteKeyValue Variables Input4 "$UserInput$" ]
Command2=[!SetVariable Input4 "[UserInput4]"]

[UserInput5]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=122
w=185
h=22
DefaultValue=#Input5#
Command1=[!WriteKeyValue Variables Input5 "$UserInput$" ]
Command2=[!SetVariable Input5 "[UserInput5]"]

[UserInput6]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=149
w=185
h=22
DefaultValue=#Input6#
Command1=[!WriteKeyValue Variables Input6 "$UserInput$" ]
Command2=[!SetVariable Input6 "[UserInput6]"]

[UserInput7]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=174
w=185
h=22
DefaultValue=#Input7#
Command1=[!WriteKeyValue Variables Input7 "$UserInput$" ]
Command2=[!SetVariable Input7 "[UserInput7]"]

[UserInput8]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=200
w=185
h=22
DefaultValue=#Input8#
Command1=[!WriteKeyValue Variables Input8 "$UserInput$" ]
Command2=[!SetVariable Input8 "[UserInput8]"]

[UserInput9]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=20
y=228
w=185
h=22
DefaultValue=#Input9#
Command1=[!WriteKeyValue Variables Input9 "$UserInput$" ]
Command2=[!SetVariable Input9 "[UserInput9]"]


[Button1]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button1 "(1-#Button1#)"][!Refresh]
DynamicVariables=1
Group=1
Hidden=0
[Fond1]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=25
Group=1
MouseOverAction=[!ShowMeterGroup 1D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 1D][!Redraw]
[SIIconLine1Delete]
Meter=IMAGE
X=195
Y=25
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input1 "#Input2#"][!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button1 "#Button2#"][!WriteKeyValue Variables Button2 "#Button3#"][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=1D
AntiAlias=0

[Button2]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button2 "(1-#Button2#)"][!Refresh]
DynamicVariables=1
Group=2
Hidden=0
[Fond2]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=2
MouseOverAction=[!ShowMeterGroup 2D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 2D][!Redraw]
[SIIconLine2Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button2 "#Button3#"][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=2D
AntiAlias=0

[Button3]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button3 "(1-#Button3#)"][!Refresh]
DynamicVariables=1
Group=3
Hidden=0
[Fond3]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=3
MouseOverAction=[!ShowMeterGroup 3D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 3D][!Redraw]
[SIIconLine3Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=3D
AntiAlias=0

[Button4]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button4 "(1-#Button4#)"][!Refresh]
DynamicVariables=1
Group=4
Hidden=0
[Fond4]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=4
MouseOverAction=[!ShowMeterGroup 4D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 4D][!Redraw]
[SIIconLine4Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=4D
AntiAlias=0

[Button5]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button5 "(1-#Button5#)"][!Refresh]
DynamicVariables=1
Group=5
Hidden=0
[Fond5]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=5
MouseOverAction=[!ShowMeterGroup 5D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 5D][!Redraw]
[SIIconLine5Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=5D
AntiAlias=0

[Button6]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button6 "(1-#Button6#)"][!Refresh]
DynamicVariables=1
Group=6
Hidden=0
[Fond6]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=6
MouseOverAction=[!ShowMeterGroup 6D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 6D][!Redraw]
[SIIconLine6Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=6D
AntiAlias=0

[Button7]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button7 "(1-#Button7#)"][!Refresh]
DynamicVariables=1
Group=7
Hidden=0
[Fond7]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=7
MouseOverAction=[!ShowMeterGroup 7D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 7D][!Redraw]
[SIIconLine7Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=7D
AntiAlias=0

[Button8]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button8 "(1-#Button8#)"][!Refresh]
DynamicVariables=1
Group=8
Hidden=0
[Fond8]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=8
MouseOverAction=[!ShowMeterGroup 8D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 8D][!Redraw]
[SIIconLine8Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=8D
AntiAlias=0

[Button9]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button9 "(1-#Button9#)"][!Refresh]
DynamicVariables=1
Group=9
Hidden=0
[Fond9]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=9
MouseOverAction=[!ShowMeterGroup 9D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 9D][!Redraw]
[SIIconLine9Delete]
Meter=IMAGE
X=195
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=9D
AntiAlias=0

[Text1]
Meter=String
Text=#Input1#
SolidColor=0,0,0,1
x=20
y=22
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput1" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=1
Hidden=0

[Text2]
Meter=String
Text=#Input2#
SolidColor=0,0,0,1
x=20
y=23r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput2" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=2
Hidden=0

[Text3]
Meter=String
Text=#Input3#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput3" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=3
Hidden=0

[Text4]
Meter=String
Text=#Input4#
SolidColor=0,0,0,1
x=20
y=27r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput4" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=4
Hidden=0

[Text5]
Meter=String
Text=#Input5#
SolidColor=0,0,0,1
x=20
y=27r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput5" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=5
Hidden=0

[Text6]
Meter=String
Text=#Input6#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput6" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=6
Hidden=0

[Text7]
Meter=String
Text=#Input7#
SolidColor=0,0,0,1
x=20
y=25r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput7" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=7
Hidden=0

[Text8]
Meter=String
Text=#Input8#
SolidColor=0,0,0,1
x=20
y=26r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput8" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=8
Hidden=0

[Text9]
Meter=String
Text=#Input9#
SolidColor=0,0,0,1
x=20
y=24r
w=160
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput9" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=9
Hidden=0


[ButtonAll]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=0
y=0
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button1 "((#GroupToggle#>=1)?(1-#ButtonAll#):(#Button1#))"][!WriteKeyValue Variables Button2 "((#GroupToggle#>=2)?(1-#ButtonAll#):(#Button2#))"][!WriteKeyValue Variables Button3 "((#GroupToggle#>=3)?(1-#ButtonAll#):(#Button3#))"][!WriteKeyValue Variables Button4 "((#GroupToggle#>=4)?(1-#ButtonAll#):(#Button4#))"][!WriteKeyValue Variables Button5 "((#GroupToggle#>=5)?(1-#ButtonAll#):(#Button5#))"][!WriteKeyValue Variables Button6 "((#GroupToggle#>=6)?(1-#ButtonAll#):(#Button6#))"][!WriteKeyValue Variables Button7 "((#GroupToggle#>=7)?(1-#ButtonAll#):(#Button7#))"][!WriteKeyValue Variables Button8 "((#GroupToggle#>=8)?(1-#ButtonAll#):(#Button8#))"][!WriteKeyValue Variables Button9 "((#GroupToggle#>=9)?(1-#ButtonAll#):(#Button9#))"][!Refresh]
DynamicVariables=1

[Plus]
Meter=String
Text="+"
SolidColor=0,0,0,1
x=0R
y=-2
MeterStyle=TextStyle1
LeftMouseUpAction=[!WriteKeyValue Variables GroupToggle "((#GroupToggle#>=9)?(9):(#GroupToggle#+1))"][!Refresh]
DynamicVariables=1

[Minus]
Meter=String
Text="-"
SolidColor=0,0,0,1
x=0R
y=-3
MeterStyle=TextStyle1
LeftMouseUpAction=[!WriteKeyValue Variables Button#GroupToggle# "0"][!WriteKeyValue Variables GroupToggle "((#GroupToggle#<=0)?(0):(#GroupToggle#-1))"][!Refresh]
DynamicVariables=1

[DeleteSelected]
Meter=IMAGE
ImageName=#@#Images\Delete.png
x=5R
y=7
LeftMouseUpAction=[!EnableMeasureGroup "DeleteCaseGroup"][!UpdateMeasureGroup "DeleteCaseGroup"][!Refresh]
DynamicVariables=1
Adapt to your needs either one of the variants I posted.
RNestaM
Posts: 12
Joined: April 9th, 2019, 5:59 pm

Re: Interlinked if or the way not to run a mesure

RNestaM » April 15th, 2019, 8:55 am

What a work ! :jawdrop

Thanks a lot !

I had no tought about the select all and it's a great idea ! I take it !

Thanks a lot.

I've changed the place of the cross of each rows for more clarity if you want the code :

Code: Select all

[Rainmeter]
Update=1000

[Metadata]


[Variables]
Button0=0

Button1=0
Button2=0
Button3=0
Button4=0
Button5=0
Button6=0
Button7=0
Button8=0
Button9=0

Input1=
Input2=
Input3=
Input4=
Input5=
Input6=
Input7=
Input8=8
Input9=

TInput1=
TInput2=
TInput3=
TInput4=
TInput5=
TInput6=
TInput7=
TInput8=
TInput9=

GroupToggle=9
TIndex=1
Selected=0

ButtonAll=(((#Button1#=1)&&((#Button2#=1)||(#GroupToggle#<2))&&((#Button3#=1)||(#GroupToggle#<3))&&((#Button4#=1)||(#GroupToggle#<4))&&((#Button5#=1)||(#GroupToggle#<5))&&((#Button6#=1)||(#GroupToggle#<6))&&((#Button7#=1)||(#GroupToggle#<7))&&((#Button8#=1)||(#GroupToggle#<8))&&((#Button9#=1)||(#GroupToggle#<9)))?(1):(0))

Font=Caviar Dreams

1=#@#Images\ToDo1.png
2=#@#Images\ToDo2.png

[TextStyle1]
FontFace=#Font#
FontColor=00BFFF
FontSize=13
StringEffect=Shadow
AntiAlias=1




[MeasureGroupToggle]
Measure=Calc
Formula=#GroupToggle#
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideMeterGroup "1"][!HideMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition2=(#CURRENTSECTION#=1)
IfTrueAction2=[!ShowMeterGroup "1"][!HideMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition3=(#CURRENTSECTION#=2)
IfTrueAction3=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!HideMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition4=(#CURRENTSECTION#=3)
IfTrueAction4=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!HideMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition5=(#CURRENTSECTION#=4)
IfTrueAction5=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!HideMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition6=(#CURRENTSECTION#=5)
IfTrueAction6=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!HideMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition7=(#CURRENTSECTION#=6)
IfTrueAction7=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!HideMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition8=(#CURRENTSECTION#=7)
IfTrueAction8=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!HideMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition9=(#CURRENTSECTION#=8)
IfTrueAction9=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!ShowMeterGroup "8"][!HideMeterGroup "9"][!Redraw]
IfCondition10=(#CURRENTSECTION#=9)
IfTrueAction10=[!ShowMeterGroup "1"][!ShowMeterGroup "2"][!ShowMeterGroup "3"][!ShowMeterGroup "4"][!ShowMeterGroup "5"][!ShowMeterGroup "6"][!ShowMeterGroup "7"][!ShowMeterGroup "8"][!ShowMeterGroup "9"][!Redraw]

DynamicVariables=1


[Delete1]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button1#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input1#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete2]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button2#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input2#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete3]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button3#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input3#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete4]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button4#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input4#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete5]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button5#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input5#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete6]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button6#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input6#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete7]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button7#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input7#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete8]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button8#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input8#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[Delete9]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=(#Button9#=0)
IfTrueAction=[!SetVariable TInput#TIndex# "#Input9#"][!SetVariable TIndex (#TIndex#+1)]
IfFalseAction=[!SetVariable Selected (#Selected#+1)]
IfConditionMode=1
DynamicVariables=1

[DeleteCase]
Group=DeleteCaseGroup
Measure=Calc
Disabled=1
UpdateDivider=-1
IfCondition=1
IfTrueAction=[!WriteKeyValue Variables Input1 "#TInput1#"][!WriteKeyValue Variables Input2 "#TInput2#"][!WriteKeyValue Variables Input3 "#TInput3#"][!WriteKeyValue Variables Input4 "#TInput4#"][!WriteKeyValue Variables Input5 "#TInput5#"][!WriteKeyValue Variables Input6 "#TInput6#"][!WriteKeyValue Variables Input7 "#TInput7#"][!WriteKeyValue Variables Input8 "#TInput8#"][!WriteKeyValue Variables Input9 "#TInput9#"][!WriteKeyValue Variables Button1 "0"][!WriteKeyValue Variables Button2 "0"][!WriteKeyValue Variables Button3 "0"][!WriteKeyValue Variables Button4 "0"][!WriteKeyValue Variables Button5 "0"][!WriteKeyValue Variables Button6 "0"][!WriteKeyValue Variables Button7 "0"][!WriteKeyValue Variables Button8 "0"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle (#GroupToggle#-#Selected#)]
IfConditionMode=1
DynamicVariables=1


[MeasureButton1]
Measure=Calc
Formula=#Button1#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button1 ButtonImage "#*1*#"][!UpdateMeter "Button1"][!Redraw]
IfFalseAction=[!SetOption Button1 ButtonImage "#*2*#"][!UpdateMeter "Button1"][!Redraw]
DynamicVariables=1

[MeasureButton2]
Measure=Calc
Formula=#Button2#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button2 ButtonImage "#*1*#"][!UpdateMeter "Button2"][!Redraw]
IfFalseAction=[!SetOption Button2 ButtonImage "#*2*#"][!UpdateMeter "Button2"][!Redraw]
DynamicVariables=1

[MeasureButton3]
Measure=Calc
Formula=#Button3#
IfCondition=(#CURRENTSECTION#=0)
LeftMouseUpAction=
IfTrueAction=[!SetOption Button3 ButtonImage "#*1*#"][!UpdateMeter "Button3"][!Redraw]
IfFalseAction=[!SetOption Button3 ButtonImage "#*2*#"][!UpdateMeter "Button3"][!Redraw]
DynamicVariables=1

[MeasureButton4]
Measure=Calc
Formula=#Button4#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button4 ButtonImage "#*1*#"][!UpdateMeter "Button4"][!Redraw]
IfFalseAction=[!SetOption Button4 ButtonImage "#*2*#"][!UpdateMeter "Button4"][!Redraw]
DynamicVariables=1

[MeasureButton5]
Measure=Calc
Formula=#Button5#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button5 ButtonImage "#*1*#"][!UpdateMeter "Button5"][!Redraw]
IfFalseAction=[!SetOption Button5 ButtonImage "#*2*#"][!UpdateMeter "Button5"][!Redraw]
DynamicVariables=1

[MeasureButton6]
Measure=Calc
Formula=#Button6#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button6 ButtonImage "#*1*#"][!UpdateMeter "Button6"][!Redraw]
IfFalseAction=[!SetOption Button6 ButtonImage "#*2*#"][!UpdateMeter "Button6"][!Redraw]
DynamicVariables=1

[MeasureButton7]
Measure=Calc
Formula=#Button7#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button7 ButtonImage "#*1*#"][!UpdateMeter "Button7"][!Redraw]
IfFalseAction=[!SetOption Button7 ButtonImage "#*2*#"][!UpdateMeter "Button7"][!Redraw]
DynamicVariables=1

[MeasureButton8]
Measure=Calc
Formula=#Button8#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button8 ButtonImage "#*1*#"][!UpdateMeter "Button8"][!Redraw]
IfFalseAction=[!SetOption Button8 ButtonImage "#*2*#"][!UpdateMeter "Button8"][!Redraw]
DynamicVariables=1

[MeasureButton9]
Measure=Calc
Formula=#Button9#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption Button9 ButtonImage "#*1*#"][!UpdateMeter "Button9"][!Redraw]
IfFalseAction=[!SetOption Button9 ButtonImage "#*2*#"][!UpdateMeter "Button9"][!Redraw]
DynamicVariables=1


[MeasureButtonAll]
Measure=Calc
Formula=#ButtonAll#
LeftMouseUpAction=
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!SetOption ButtonAll ButtonImage "#*1*#"][!UpdateMeter "ButtonAll"][!Redraw]
IfFalseAction=[!SetOption ButtonAll ButtonImage "#*2*#"][!UpdateMeter "ButtonAll"][!Redraw]
DynamicVariables=1


[UserInput1]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=22
w=185
h=22
DefaultValue=#Input1#
Command1=[!WriteKeyValue Variables Input1 "$UserInput$" ]
Command2=[!SetVariable Input1 "[UserInput1]"]

[UserInput2]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=44
w=185
h=22
DefaultValue=#Input2#
Command1=[!WriteKeyValue Variables Input2 "$UserInput$" ]
Command2=[!SetVariable Input2 "[UserInput2]"]

[UserInput3]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=70
w=185
h=22
DefaultValue=#Input3#
Command1=[!WriteKeyValue Variables Input3 "$UserInput$" ]
Command2=[!SetVariable Input3 "[UserInput3]"]

[UserInput4]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=95
w=185
h=22
DefaultValue=#Input4#
Command1=[!WriteKeyValue Variables Input4 "$UserInput$" ]
Command2=[!SetVariable Input4 "[UserInput4]"]

[UserInput5]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=119
w=185
h=22
DefaultValue=#Input5#
Command1=[!WriteKeyValue Variables Input5 "$UserInput$" ]
Command2=[!SetVariable Input5 "[UserInput5]"]

[UserInput6]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=145
w=185
h=22
DefaultValue=#Input6#
Command1=[!WriteKeyValue Variables Input6 "$UserInput$" ]
Command2=[!SetVariable Input6 "[UserInput6]"]

[UserInput7]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=165
w=185
h=22
DefaultValue=#Input7#
Command1=[!WriteKeyValue Variables Input7 "$UserInput$" ]
Command2=[!SetVariable Input7 "[UserInput7]"]

[UserInput8]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=190
w=180
h=22
DefaultValue=#Input8#
Command1=[!WriteKeyValue Variables Input8 "$UserInput$" ]
Command2=[!SetVariable Input8 "[UserInput8]"]

[UserInput9]
Measure=Plugin
Plugin=InputText
FontFace=#Font#
FontColor=255,255,255,255
Solidcolor=2b2610
FontSize=13
StringEffect=Shadow
x=30
y=214
w=185
h=22
DefaultValue=#Input9#
Command1=[!WriteKeyValue Variables Input9 "$UserInput$" ]
Command2=[!SetVariable Input9 "[UserInput9]"]


[Button1]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button1 "(1-#Button1#)"][!Refresh]
DynamicVariables=1
Group=1
Hidden=0
[Fond1]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=25
Group=1
MouseOverAction=[!ShowMeterGroup 1D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 1D][!Redraw]
[SIIconLine1Delete]
Meter=IMAGE
X=0
Y=25
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input1 "#Input2#"][!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button1 "#Button2#"][!WriteKeyValue Variables Button2 "#Button3#"][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=1D
AntiAlias=0

[Button2]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button2 "(1-#Button2#)"][!Refresh]
DynamicVariables=1
Group=2
Hidden=0
[Fond2]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=2
MouseOverAction=[!ShowMeterGroup 2D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 2D][!Redraw]
[SIIconLine2Delete]
Meter=IMAGE
X=0
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input2 "#Input3#"][!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button2 "#Button3#"][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=2D
AntiAlias=0

[Button3]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button3 "(1-#Button3#)"][!Refresh]
DynamicVariables=1
Group=3
Hidden=0
[Fond3]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=3
MouseOverAction=[!ShowMeterGroup 3D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 3D][!Redraw]
[SIIconLine3Delete]
Meter=IMAGE
X=0
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input3 "#Input4#"][!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button3 "#Button4#"][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=3D
AntiAlias=0

[Button4]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button4 "(1-#Button4#)"][!Refresh]
DynamicVariables=1
Group=4
Hidden=0
[Fond4]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=4
MouseOverAction=[!ShowMeterGroup 4D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 4D][!Redraw]
[SIIconLine4Delete]
Meter=IMAGE
X=0
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input4 "#Input5#"][!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button4 "#Button5#"][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=4D
AntiAlias=0

[Button5]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button5 "(1-#Button5#)"][!Refresh]
DynamicVariables=1
Group=5
Hidden=0
[Fond5]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=5
MouseOverAction=[!ShowMeterGroup 5D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 5D][!Redraw]
[SIIconLine5Delete]
Meter=IMAGE
X=0
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input5 "#Input6#"][!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button5 "#Button6#"][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=5D
AntiAlias=0

[Button6]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button6 "(1-#Button6#)"][!Refresh]
DynamicVariables=1
Group=6
Hidden=0
[Fond6]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=6
MouseOverAction=[!ShowMeterGroup 6D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 6D][!Redraw]
[SIIconLine6Delete]
Meter=IMAGE
X=0
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input6 "#Input7#"][!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button6 "#Button7#"][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=6D
AntiAlias=0

[Button7]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button7 "(1-#Button7#)"][!Refresh]
DynamicVariables=1
Group=7
Hidden=0
[Fond7]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=7
MouseOverAction=[!ShowMeterGroup 7D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 7D][!Redraw]
[SIIconLine7Delete]
Meter=IMAGE
X=0
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input7 "#Input8#"][!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button7 "#Button8#"][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=7D
AntiAlias=0

[Button8]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button8 "(1-#Button8#)"][!Refresh]
DynamicVariables=1
Group=8
Hidden=0
[Fond8]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=8
MouseOverAction=[!ShowMeterGroup 8D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 8D][!Redraw]
[SIIconLine8Delete]
Meter=IMAGE
X=0
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input8 "#Input9#"][!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button8 "#Button9#"][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=8D
AntiAlias=0

[Button9]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=22r
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button9 "(1-#Button9#)"][!Refresh]
DynamicVariables=1
Group=9
Hidden=0
[Fond9]
Meter=IMAGE
ImageName=#@#Images\dessous.png
x=0
y=2r
Group=9
MouseOverAction=[!ShowMeterGroup 9D][!Redraw] 
MouseLeaveAction=[!HideMeterGroup 9D][!Redraw]
[SIIconLine9Delete]
Meter=IMAGE
X=0
Y=2r
ImageName=#@#Images\Delete.png
Hidden=1
ImageAlpha=180
UpdateDivider=-1
LeftMouseUpAction=[!WriteKeyValue Variables Input9 ""][!WriteKeyValue Variables Button9 "0"][!WriteKeyValue Variables GroupToggle "(#GroupToggle#-1)"][!Refresh]
Group=9D
AntiAlias=0

[Text1]
Meter=String
Text=#Input1#
SolidColor=0,0,0,1
x=30
y=22
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput1" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=1
Hidden=0

[Text2]
Meter=String
Text=#Input2#
SolidColor=0,0,0,1
x=30
y=23r
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput2" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=2
Hidden=0

[Text3]
Meter=String
Text=#Input3#
SolidColor=0,0,0,1
x=30
y=25r
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput3" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=3
Hidden=0

[Text4]
Meter=String
Text=#Input4#
SolidColor=0,0,0,1
x=30
y=24r
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput4" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=4
Hidden=0

[Text5]
Meter=String
Text=#Input5#
SolidColor=0,0,0,1
x=30
y=26r
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput5" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=5
Hidden=0

[Text6]
Meter=String
Text=#Input6#
SolidColor=0,0,0,1
x=30
y=26r
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput6" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=6
Hidden=0

[Text7]
Meter=String
Text=#Input7#
SolidColor=0,0,0,1
x=30
y=26r
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput7" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=7
Hidden=0

[Text8]
Meter=String
Text=#Input8#
SolidColor=0,0,0,1
x=30
y=26r
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput8" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=8
Hidden=0

[Text9]
Meter=String
Text=#Input9#
SolidColor=0,0,0,1
x=30
y=26r
w=600
h=22
MeterStyle=TextStyle1
LeftMouseUpAction=[!CommandMeasure "UserInput9" "ExecuteBatch 1-2"]
DynamicVariables=1
Group=9
Hidden=0


[ButtonAll]
Meter=Button
;ButtonImage=#1#
SolidColor=0,0,0,1
x=10
y=0
w=20
h=20
LeftMouseUpAction=[!WriteKeyValue Variables Button1 "((#GroupToggle#>=1)?(1-#ButtonAll#):(#Button1#))"][!WriteKeyValue Variables Button2 "((#GroupToggle#>=2)?(1-#ButtonAll#):(#Button2#))"][!WriteKeyValue Variables Button3 "((#GroupToggle#>=3)?(1-#ButtonAll#):(#Button3#))"][!WriteKeyValue Variables Button4 "((#GroupToggle#>=4)?(1-#ButtonAll#):(#Button4#))"][!WriteKeyValue Variables Button5 "((#GroupToggle#>=5)?(1-#ButtonAll#):(#Button5#))"][!WriteKeyValue Variables Button6 "((#GroupToggle#>=6)?(1-#ButtonAll#):(#Button6#))"][!WriteKeyValue Variables Button7 "((#GroupToggle#>=7)?(1-#ButtonAll#):(#Button7#))"][!WriteKeyValue Variables Button8 "((#GroupToggle#>=8)?(1-#ButtonAll#):(#Button8#))"][!WriteKeyValue Variables Button9 "((#GroupToggle#>=9)?(1-#ButtonAll#):(#Button9#))"][!Refresh]
DynamicVariables=1

[Plus]
Meter=String
Text="+"
SolidColor=0,0,0,1
x=0R
y=-2
MeterStyle=TextStyle1
LeftMouseUpAction=[!WriteKeyValue Variables GroupToggle "((#GroupToggle#>=9)?(9):(#GroupToggle#+1))"][!Refresh]
DynamicVariables=1

[Minus]
Meter=String
Text="-"
SolidColor=0,0,0,1
x=0R
y=-3
MeterStyle=TextStyle1
LeftMouseUpAction=[!WriteKeyValue Variables Button#GroupToggle# "0"][!WriteKeyValue Variables GroupToggle "((#GroupToggle#<=0)?(0):(#GroupToggle#-1))"][!Refresh]
DynamicVariables=1

[DeleteSelected]
Meter=IMAGE
ImageName=#@#Images\Delete.png
x=5R
y=7
LeftMouseUpAction=[!EnableMeasureGroup "DeleteCaseGroup"][!UpdateMeasureGroup "DeleteCaseGroup"][!Refresh]
DynamicVariables=1
Yincognito
Posts: 652
Joined: February 27th, 2015, 2:38 pm

Re: Interlinked if or the way not to run a mesure

Yincognito » April 15th, 2019, 4:30 pm

You're welcome. You can also move down the notes' rows a little bit, if you want, since the height of the first row (where the + and - are located) is smaller than the height of a note's row (which is why I used negative values for the Y of the + and - in the code).

By the way, if you noticed, the way to not run a measure at skin refresh is to disable that measure by adding a Disabled=1 to it, and enable+update it only when you want it to run. Obviously, having an UpdateDivider=-1 on that measure makes it run only on demand.
RNestaM
Posts: 12
Joined: April 9th, 2019, 5:59 pm

Re: Interlinked if or the way not to run a mesure

RNestaM » April 15th, 2019, 4:41 pm

Yincognito wrote:
April 15th, 2019, 4:30 pm
You're welcome. You can also move down the notes' rows a little bit, if you want, since the height of the first row (where the + and - are located) is smaller than the height of a note's row (which is why I used negative values for the Y of the + and - in the code).
Yeah i've done it ;)
Yincognito wrote:
April 15th, 2019, 4:30 pm
By the way, if you noticed, the way to not run a measure at skin refresh is to disable that measure by adding a Disabled=1 to it, and enable+update it only when you want it to run. Obviously, having an UpdateDivider=-1 on that measure makes it run only on demand.
I asking myself why i did'nt tought about it :???: