It is currently April 27th, 2024, 8:42 pm

Rainmeter.ini not saving positions correctly

Get help with creating, editing & fixing problems with skins
valentine1
Posts: 13
Joined: May 29th, 2012, 10:54 pm

Rainmeter.ini not saving positions correctly

Post by valentine1 »

hey again! :D

found a little error, which i don't quite understand with rainmeter.ini. it should be saving positions of the skins that i'm using and look like this (obviously)

Code: Select all

[Elegance2\System\ram]
Active=3
WindowX=-1920
WindowY=801
LoadOrder=0
AlphaValue=255
FadeDuration=250
ClickThrough=0
Draggable=1
HideOnMouseOver=0
SavePosition=1
SnapEdges=1
KeepOnScreen=1
AutoSelectScreen=0
AlwaysOnTop=0
instead, when i refresh the 'showlan' skin that i wrote it just goes back to the default position in the top left corner of my other monitor. i had a looksie at rainmeter.ini and even if i edit and save it, quit rainmeter and restart it, the skins a) don't load with it (they just unload on exit) and b) it saves my rainmeter.ini like this

Code: Select all

[[v]ER v1.0\system\network\showlan]
WindowX=-1920
[[v]ER v1.0\system\network\showlan]
WindowY=940
[[v]ER v1.0\system\network\showlan]
AlphaValue=255
[[v]ER v1.0\system\network\showlan]
FadeDuration=250
[[v]ER v1.0\system\network\showlan]
ClickThrough=0
[[v]ER v1.0\system\network\showlan]
Draggable=1
[[v]ER v1.0\system\network\showlan]
HideOnMouseOver=0
[[v]ER v1.0\system\network\showlan]
SavePosition=1
[[v]ER v1.0\system\network\showlan]
SnapEdges=1
[[v]ER v1.0\system\network\showlan]
KeepOnScreen=1
[[v]ER v1.0\system\network\showlan]
AutoSelectScreen=0
[[v]ER v1.0\system\network\showlan]
AlwaysOnTop=0
this is a custom skin that i wrote that works perfectly (no errors in the about log), and is exactly the same setup structurally as others which i've gutted and re-put in measures and meters. just not sure what i'm doing, it's frustrating to load in new skins and for a particular few that i've written to just vanish back to default position at WindowX=0, WindowY=0.

what am i doing wrong?
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter.ini not saving positions correctly

Post by jsmorley »

I suspect that using brackets "[]" in your folder names is confusing Rainmeter. Rename your folders to eliminate them.
valentine1
Posts: 13
Joined: May 29th, 2012, 10:54 pm

Re: Rainmeter.ini not saving positions correctly

Post by valentine1 »

jsmorley wrote:I suspect that using brackets "[]" in your folder names is confusing Rainmeter. Rename your folders to eliminate them.
ah. /facepalm.

how it never crossed my mind that a program that reads what's in between [ ] would take offense to a little stylisation is testament to my stupidity.

thanks again jsmorley, you are a gentleman and a scholar!