It is currently May 2nd, 2024, 9:42 am
Any way to set the default AlwaysOnTop value for a skin?
-
- Posts: 2
- Joined: August 29th, 2011, 9:26 pm
Any way to set the default AlwaysOnTop value for a skin?
I'd like to be able to set, in a skin's .ini, what its AlwaysOnTop value is. Is there any way to do that, or do you have to set it through the context menu / rainmeter.ini file?
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Any way to set the default AlwaysOnTop value for a skin?
Put this in the [Rainmeter] section of your skin.InsanityOnABun wrote:I'd like to be able to set, in a skin's .ini, what its AlwaysOnTop value is. Is there any way to do that, or do you have to set it through the context menu / rainmeter.ini file?
OnRefreshAction=!ZPos -2 "#CURRENTCONFIG#"
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Any way to set the default AlwaysOnTop value for a skin?
If you distribute skins, please use do not use this (it's annoying to have to edit the skin, remove a line, refresh, and change Z-position just to change the Z-position ). Use a theme file with AlwaysOnTop set to whatever you want instead.
-
- Posts: 2
- Joined: August 29th, 2011, 9:26 pm
Re: Any way to set the default AlwaysOnTop value for a skin?
That's understandable. What exactly is a theme file, and how would one go about making a theme file to do this? Could this theme file apply to multiple skins?poiru wrote:If you distribute skins, please use do not use this (it's annoying to have to edit the skin, remove a line, refresh, and change Z-position just to change the Z-position ). Use a theme file with AlwaysOnTop set to whatever you want instead.
Nevermind, I figured it out, I think. Thanks for the help you two!