Page 1 of 1

Added !Delay bang to documentation

Posted: September 15th, 2017, 2:23 pm
by jsmorley
I added the !Delay bang to the documentation:

https://docs.rainmeter.net/manual-beta/bangs/#Delay

This was a bang we had provisionally added a long while back, while we were working on ideas for the ActionTimer plugin. When we decided to go with the more robust plugin measure approach, this was set aside, but left in the code.

While it has limited functionality compared to ActionTimer, in some cases it can be effective enough, and much simpler to use. So we decided to leave it in, and elevate it from an "Easter egg" in the code to a supported bang.

This bang is supported in versions of Rainmeter from 3.3 and up.

You can see it being used in the wild here:

https://forum.rainmeter.net/viewtopic.php?p=139480#p139480

Re: Added !Delay bang to documentation

Posted: September 15th, 2017, 3:23 pm
by Active Colors
Didn't expect this bang appear. Before the ActionTimer appeared I would use this.

Code: Select all

[DelayedAction]
Measure=Calc
Formula=DelayedAction+1
Disabled=1
;IfEqualValue * skin Update = delay in ms
IfEqualValue=2
IfEqualAction=[!DisableMeasure DelayedAction][your][bangs][here]

[ImageMeter]
Meter=Image
LeftMouseUpAction=[!EnableMeasure DelayedAction]
Now it's easier. Thanks for adding and revealing this bang.

Re: Added !Delay bang to documentation

Posted: September 15th, 2017, 4:22 pm
by fonpaolo
I concur with Active Colors!
Many thanks for this feature. :D

...but, as a side note, it was better if you said this before, it would have saved more time to try to add other code! :x ;-)