Page 1 of 1

!Wait command

Posted: August 18th, 2009, 1:39 am
by RetardedRaven
Well it's been 2 days time to request another feature. Namely a simple bang [!Wait 1000] or whatever amount of milliseconds you want. Unlike the Key=[Measure] i asked about this should be fairly simple to do. It's mostly for use in !executes so that it waits some time before execution of the next thing.

So !execute [!RainmeterHideMeter Back][!Wait 1000][!RainmeterRefresh]

Would hide the meter wait 1000 milliseconds and then refresh.

The command could be useful in a couple places.
First in simple animations (though I imagine this would take resources to max with all the waits/retrieves.)
Second (What made me want to request it) Have a program that edits a rainmeter config from a !bang and have it redisplayed without refreshing.
Third Scrolling/Flashing/Moving Text/Images (though to be viable this would require looping of commands which I understand is it's very own animal)

I'm sure there's more that can be done and if I'm correct (No basis here I don't know the code/architecture of Rainmeter at all) That having the program wait for a specified time wouldn't be terribly hard. (Though rule of thumb is nothing is ever simple)