It is currently March 28th, 2024, 6:53 pm

Added !Delay bang to documentation

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

Added !Delay bang to documentation

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

Re: Added !Delay bang to documentation

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

Re: Added !Delay bang to documentation

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