Hmm, here is your code with changes to correct why it didn't work for you.
You tried to use multiple EXTEND parameters which will not work.
You should escape variables when you use !SETOPTION so the code can respond to variable changes later on.
If you don't escape them, they become the current value of the variable and never change.
I added some variables and a [ToolTip] section, so this sample code works.
Try this:
You tried to use multiple EXTEND parameters which will not work.
You should escape variables when you use !SETOPTION so the code can respond to variable changes later on.
If you don't escape them, they become the current value of the variable and never change.
I added some variables and a [ToolTip] section, so this sample code works.
Try this:
Code:
[Variables]White100=255,255,255,100Trans=0,0,0,1BGFill=100,100,100[ToolTip]Meter=ImageW=100H=179SolidColor=25,89,200,100[Background]Meter=ShapeShape=Rectangle 0,0,16,179,5 | StrokeWidth 2 | Extend MyOptionsShape2=Rectangle 0,0,[ToolTip:W],16,5 | StrokeWidth 2 | Extend MyOptionsMyOptions=Stroke Color #Trans# | Fill Color #Trans#MouseOverAction=[!SetOption #CURRENTSECTION# MyOptions "StrokeColor #*White100*# | Fill Color #*BgFill*#"][!UpdateMeter #CURRENTSECTION#][!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# MyOptions "StrokeColor #*Trans*# | Fill Color #*Trans*#"][!UpdateMeter #CURRENTSECTION#][!Redraw]DynamicVariables=1X=1Y=1; You cannot have multiple "Extend" parameters; I combined your 'Fill' and 'Stroke' into a single 'MyOptions' Extend; When you use !SetOption use escaped variabels;e.g. #*Trans*#; Otherwise the value will be set to the actual current value and will no longer respond to changes in the variable value; Shape dimensions cannot use a parameter set in the shape section; It can use variable from the skin so put the variable into the shape definition
Statistics: Posted by eclectic-tech — Yesterday, 8:34 pm