I wrote my reply before you've edited your post, so now I'm posting it as I have it. See the list at the end of my reply, I say you there what is wrong:
hyprdmg wrote: ↑September 4th, 2019, 4:41 pm
I assume this means I would need to declare the X of each Link meter? If so, how would that work? I tried to use SetOption before for Link1, and no animation occurred.
No, that's not needed. Let's see an example: I'll do now just for the first five meters, but if you get the idea, you can modify the other ones in a similar way.
So, replace the LeftMargin variable into the [Variables] section with 5 (or for all meters with 40) variables:
Code: Select all
[Variables]
...
LeftMargin1=15
LeftMargin2=15
LeftMargin3=15
LeftMargin4=15
LeftMargin5=15
Now modify / add further options to the [MeasureSlide1] ActionTimer plugin measure:
Code: Select all
[MeasureSlide1]
Measure=Plugin
Plugin=ActionTimer
ActionList1=Repeat Right1,#WW#,10
Right1=[!SetVariable LeftMargin1 "(Clamp(#LeftMargin1#+5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link1][!Redraw]
ActionList2=Repeat Left1,#WW#,10
Left1=[!SetVariable LeftMargin1 "(Clamp(#LeftMargin1#-5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link1][!Redraw]
ActionList3=Repeat Right2,#WW#,10
Right2=[!SetVariable LeftMargin2 "(Clamp(#LeftMargin2#+5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link2][!Redraw]
ActionList4=Repeat Left2,#WW#,10
Left2=[!SetVariable LeftMargin2 "(Clamp(#LeftMargin2#-5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link2][!Redraw]
ActionList5=Repeat Right3,#WW#,10
Right3=[!SetVariable LeftMargin3 "(Clamp(#LeftMargin3#+5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link3][!Redraw]
ActionList6=Repeat Left3,#WW#,10
Left3=[!SetVariable LeftMargin3 "(Clamp(#LeftMargin3#-5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link3][!Redraw]
ActionList7=Repeat Right4,#WW#,10
Right4=[!SetVariable LeftMargin4 "(Clamp(#LeftMargin4#+5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link4][!Redraw]
ActionList8=Repeat Left4,#WW#,10
Left4=[!SetVariable LeftMargin4 "(Clamp(#LeftMargin4#-5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link4][!Redraw]
ActionList9=Repeat Right5,#WW#,10
Right5=[!SetVariable LeftMargin5 "(Clamp(#LeftMargin5#+5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link5][!Redraw]
ActionList10=Repeat Left5,#WW#,10
Left5=[!SetVariable LeftMargin5 "(Clamp(#LeftMargin5#-5,15,50))"][!UpdateMeasure MeasureSlide1][!UpdateMeter Link5][!Redraw]
See that all of these options are modifying only one of the previously added variables and are updating one single meter.
Modify the X, MouseOverAction and MouseLeaveAction options of the String meters:
Code: Select all
[Link1]
...
X=#LeftMargin1#
...
MouseOverAction=[!SetOption Link1 FontColor #MouseOverColour#][!SetOption View ImageName "#@#\Images\[mName1]"][!CommandMeasure MeasureSlide1 "Stop 2"][!CommandMeasure MeasureSlide1 "Execute 1"][!Update]
MouseLeaveAction=[!SetOption Link1 FontColor #TextColour#][!SetOption View ImageName ""][!CommandMeasure MeasureSlide1 "Stop 1"][!CommandMeasure MeasureSlide1 "Execute 2"][!Update]
...
[Link2]
...
X=#LeftMargin2#
...
MouseOverAction=[!SetOption Link2 FontColor #MouseOverColour#][!SetOption View ImageName "#@#\Images\[mName2]"][!CommandMeasure MeasureSlide1 "Stop 4"][!CommandMeasure MeasureSlide1 "Execute 3"][!Update]
MouseLeaveAction=[!SetOption Link2 FontColor #TextColour#][!SetOption View ImageName ""][!CommandMeasure MeasureSlide1 "Stop 3"][!CommandMeasure MeasureSlide1 "Execute 4"][!Update]
...
[Link3]
...
X=#LeftMargin3#
...
MouseOverAction=[!SetOption Link3 FontColor #MouseOverColour#][!SetOption View ImageName "#@#\Images\[mName2]"][!CommandMeasure MeasureSlide1 "Stop 6"][!CommandMeasure MeasureSlide1 "Execute 5"][!Update]
MouseLeaveAction=[!SetOption Link3 FontColor #TextColour#][!SetOption View ImageName ""][!CommandMeasure MeasureSlide1 "Stop 5"][!CommandMeasure MeasureSlide1 "Execute 6"][!Update]
...
[Link4]
...
X=#LeftMargin4#
...
MouseOverAction=[!SetOption Link4 FontColor #MouseOverColour#][!SetOption View ImageName "#@#\Images\[mName4]"][!CommandMeasure MeasureSlide1 "Stop 8"][!CommandMeasure MeasureSlide1 "Execute 7"][!Update]
MouseLeaveAction=[!SetOption Link4 FontColor #TextColour#][!SetOption View ImageName ""][!CommandMeasure MeasureSlide1 "Stop 7"][!CommandMeasure MeasureSlide1 "Execute 8"][!Update]
...
[Link5]
...
X=#LeftMargin5#
...
MouseOverAction=[!SetOption Link5 FontColor #MouseOverColour#][!SetOption View ImageName "#@#\Images\[mName5]"][!CommandMeasure MeasureSlide1 "Stop 10"][!CommandMeasure MeasureSlide1 "Execute 9"][!Update]
MouseLeaveAction=[!SetOption Link5 FontColor #TextColour#][!SetOption View ImageName ""][!CommandMeasure MeasureSlide1 "Stop 9"][!CommandMeasure MeasureSlide1 "Execute 10"][!Update]
...
Note two small other errors:
- The DynamicVariables=1 option is missing from all String meters, starting from [Link4]. Add them, otherwise the animation won't work.
hyprdmg wrote: ↑September 4th, 2019, 4:41 pm
Edit: So I added an L
NM (Link # Margin) for each link, and it seems all fine now. The only issue I have remaining is if I only mouse over the left side of each link, the meter obviously moves over, and then will constantly switch between the OnAction and LeaveAction.
The animation wont work this way, because the String meters have a lot of transparent areas, which don't interact when hovering the mouse over them. To avoid this, add a SolidColor=0,0,0,1 option to all String meters, from [Link1] to [Link40].
Obviously as said you have to add further variables / options to the [MeasureSlide1] measure and have to modify the X, MouseOverAction and MouseLeaveAction options of the other meters as well.