Re: Can I specify a meter to 'Click Through'?
Posted: February 19th, 2023, 7:15 am
This is a completely normal behavior, because when you click the second or third button, you set a well defined value for the ScreenSaver variable: 0,0,0,150 with [Button2] and 50,10,0,220 with [Button3]. One of these values being set, the scrolling can't work anymore, because the ScreenSaver variable doesn't contain anymore the Alpha variable, which is in fact altered when scrolling.
To fix, you have to rewrite the LeftMouseUpAction options of the [Button2] and [Button3] meters, to not get modified the original ScreenSaver variable. For instance:
Code: Select all
[Button2]
...
LeftMouseUpAction=[!WriteKeyValue Variables ScreenSaver 0,0,0,#*Alpha*#][!SetVariable Alpha "150"][!SetVariable ScreenSaver "0,0,0,[#Alpha]"][!UpdateMeter "Button1"][!UpdateMeter "Background"][!Redraw]
[Button3]
...
LeftMouseUpAction=[!WriteKeyValue Variables ScreenSaver "50,10,0,#*Alpha*#"][!SetVariable Alpha "210"][!SetVariable ScreenSaver "50,10,0,[#Alpha]"][!UpdateMeter "Button1"][!UpdateMeter "Background"][!Redraw]