It is currently April 19th, 2024, 7:07 pm

How to write code that makes skin survive WinKey-D

Get help with creating, editing & fixing problems with skins
csm725
Posts: 46
Joined: August 16th, 2010, 4:29 pm

How to write code that makes skin survive WinKey-D

Post by csm725 »

I know you can right-click, Settings > Position > On Desktop.
Is there any line of code that I can write to do this?
Such as:

Code: Select all

[Rainmeter]
Position=OnDesktop
Or something like that?
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: How to write code that makes skin survive WinKey-D

Post by JpsCrazy »

Similar, but not the same.
You have to change it in Rainmeter.ini

Here's mine, for instance:

Code: Select all

[Rainmeter]
TrayExecuteDL=!execute ["C:\Program Files\Rainmeter"]
SkinPath=C:\Program Files\Rainmeter\Skins\
DisableVersionCheck=0
;--The main stuff----------

[TrayMeasure]
Measure=CALC
TrayMeter=BITMAP
TrayBitmap=Enigma\Resources\Images\Tray.png
;--The icon in the system tray------------

[Statistics]
Since=Fri Jul 02 00:28:20 2010
NetStatsCount=4
NetStatsInHigh1=6
NetStatsInLow1=1876023220
NetStatsOutHigh1=0
NetStatsOutLow1=1342138031
NetStatsInHigh2=0
NetStatsInLow2=1586622469
NetStatsOutHigh2=0
NetStatsOutLow2=210574910
NetStatsInHigh3=3
NetStatsInLow3=235358875
NetStatsOutHigh3=3
NetStatsOutLow3=126151113
NetStatsInHigh4=0
NetStatsInLow4=2600568
NetStatsOutHigh4=0
NetStatsOutLow4=2600568

[10-Foot HUD\Clock & Date]
Active=2
WindowX=791
WindowY=-17
AlphaValue=255
FadeDuration=250
ClickThrough=0
Draggable=0
HideOnMouseOver=0
SavePosition=1
SnapEdges=0
KeepOnScreen=0
AutoSelectScreen=0
AlwaysOnTop=-2
;--That's what you want----
So you have to find the right Skin name and change AlwaysOnTop to -2.
Now, if you wanted to change that in your skin for everyone, you may be able to change it with !RainmeterWriteKeyValue.
Although, some/many people may not want that.
csm725
Posts: 46
Joined: August 16th, 2010, 4:29 pm

Re: How to write code that makes skin survive WinKey-D

Post by csm725 »

Alrighty thanks!