It is currently April 23rd, 2024, 11:27 pm

[Feature] OnLoadAction

Report bugs with the Rainmeter application and suggest features.
User avatar
JosephB2000
Posts: 155
Joined: July 29th, 2014, 7:02 pm

[Feature] OnLoadAction

Post by JosephB2000 »

There are many Actions that can be used in the [Rainmeter] Section. My suggestion is to add a new Action, called OnLoadAction.

Those who know the simple language of Rainmeter should know when this action is activated. The OnLoadAction performs the !Bang(s) it is told to do when either the skin is loaded using Rainmeter.exe or when an !ActivateConfig bang is used.

It could look something like this:

Code: Select all

[Rainmeter]
Update=1000
OnLoadAction=[!WriteKeyValue Variables SkinStyle Wide][!Refresh]
The useful part of this feature is that it can be used to perform a bang for different styled variants that requires a !Refresh, and because the bangs are only performed on a load, no refresh loop is created!
[Insert Joke Here]
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [Feature] OnLoadAction

Post by jsmorley »

User avatar
JosephB2000
Posts: 155
Joined: July 29th, 2014, 7:02 pm

Re: [Feature] OnLoadAction

Post by JosephB2000 »

Thanks, works just the way I intended it to, though would be simpler if it was just one key, hope you somehow find a way around the backward compatability issues :)
[Insert Joke Here]