It is currently June 26th, 2019, 4:52 pm

Added !Delay bang to documentation

Discussion about the documentation, main Rainmeter site and forums.
User avatar
jsmorley
Developer
Posts: 19272
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Added !Delay bang to documentation

jsmorley » September 15th, 2017, 2:23 pm

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
User avatar
Active Colors
Moderator
Posts: 512
Joined: February 16th, 2012, 3:32 am

Re: Added !Delay bang to documentation

Active Colors » September 15th, 2017, 3:23 pm

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.
User avatar
fonpaolo
Moderator
Posts: 1351
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: Added !Delay bang to documentation

fonpaolo » September 15th, 2017, 4:22 pm

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 ;-)