It is currently September 19th, 2020, 8:44 am

[Feature Suggestion] New Bang !SaveLayout

Report bugs with the Rainmeter application and suggest features.
User avatar
Nickson
Posts: 8
Joined: May 10th, 2020, 7:02 pm

[Feature Suggestion] New Bang !SaveLayout

Post by Nickson »

Theres currently a bang to load a layout (!LoadLayout)

It would be nice to have a bang to save the current layout.
!SaveLayoutParameters: LayoutName, Options

Saves the current layout with the specified name and options.
  • LayoutName (required): The name for the layout.
  • Options (optional): Name of one or more options. Names are separated with the | (pipe) character.
Options:
  • SaveAsEmptyLayout: If given, set option to true.
  • ExcludeInactiveSkins: If given, set option to true.
  • SaveCurrentWallpaper: If given, set option to true.
Examples:
!SaveLayout "NameOfTheLayout"
!SaveLayout "NameOfTheLayout" "SaveAsEmptyLayout"
!SaveLayout "NameOfTheLayout" "ExcludeInactiveSkins|SaveCurrentWallpaper"
One thing im not sure about:
When "SaveAsEmptyLayout" is given, then the other options need to be ignored.

!DeleteLayoutParameters: LayoutName

Deletes the named layout.
  • LayoutName (required): The name of the layout.
Example:
!DeleteLayout "NameOfTheLayout"
Last edited by Nickson on July 18th, 2020, 1:14 am, edited 2 times in total.
User avatar
jsmorley
Developer
Posts: 21365
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [Feature Suggestion] New Bang !SaveLayout

Post by jsmorley »

I'm not opposed to that in principle. Let us take a look at it.
User avatar
Nickson
Posts: 8
Joined: May 10th, 2020, 7:02 pm

Re: [Feature Suggestion] New Bang !SaveLayout

Post by Nickson »

Is there any progress?