Sorry eclectic-tech, you was quicker than me. Again!
Cariboudjan wrote: ↑January 5th, 2020, 6:34 pm
Skin uses Update=-1 (so using a counting measure or formula isn't possible). I'd like to know if there is a clever way to use a series of [!Delay 1000] bangs, and interrupt the series of bangs if necessary. For example,
MouseOverAction=[!Delay 1000][!Delay 1000][!Delay 1000][!ActivateConfig ...]
MouseLeaveAction=[Stop/Interrupt above bangs somehow...]
So that what I'd have is effectively a timer that performs an action when it reaches 3 seconds, but also can be interrupted if my mouse leaves the meter, or some other trigger, without needing to update the skin or have any special timer measure.
The !Delay bang works even if the Update of the skin is set to -1, so using the
MouseOverAction=[!Delay 1000][!Delay 1000][!Delay 1000][!ActivateConfig ...] option will let you to activate the appropriate skin after three seconds when you're hovering the mouse over the meter / skin. What I don't understand on the other hand is why are you using three !Delay bangs, why one isn't enough (
MouseOverAction=[!Delay 3000][!ActivateConfig ...]).
However if you're using !Delay bang(s), is it not possible to interrupt it / them. Once you've hovered the mouse over the meter where the above MouseOverAction is added, the appropriate skin will be anyway activated after the delay (second sentence of the Note
here).
I think if you wanna make possible to interrupt it, you have to use ActionTimer plugin measures. That one can be easily interrupted.
Cariboudjan wrote: ↑January 5th, 2020, 6:34 pm
This is what I've tried to make so far, but doesn't work:
But this code works perfectly. What it does is that if you're hovering the mouse over the meter the skin is hidden after three seconds. Even if you're leaving the meter, the skin is hidden after three seconds, because once the option executed, the !Delay bangs can't be interrupted:
GIF.gif
What do you mean by "doesn't work"?
You do not have the required permissions to view the files attached to this post.