It is currently June 26th, 2019, 2:56 pm

Changing OnUpdateAction on AM/PM (top right corner issue)

Help with creating, editing & fixing problems with skins
Posts: 1
Joined: January 6th, 2019, 10:19 pm

Changing OnUpdateAction on AM/PM (top right corner issue)

yairis » January 6th, 2019, 10:23 pm

Heya guys,

I'm new to Rainmeter, and I've ended up using the following in order to have the clock on the top right corner

OnUpdateAction=!Move "2032" "-20"

Because of my OCD I'd like to update the 2032 value to 2026 when it goes to AM so it keeps a specific space from the right side of the monitor. Any ideas/suggestions how I can do that? Or if there is a better way to achieve the above :/

User avatar
Posts: 19272
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Changing OnUpdateAction on AM/PM (top right corner issue)

jsmorley » January 7th, 2019, 1:12 am

I personally wouldn't force the entire skin to react to anything to determine the position.

I would set the String meter(s) to StringAlign=Right, so they are aligned with the right-hand side of the skin, and then just drag the skin where I want it. Rainmeter will keep it there. Then AM / PM or any other "length" of the string won't matter.

If you really want, you can additionally add a !Move bang to OnRefreshAction in the [Rainmeter] section of the skin, so even if you move it accidentally, it will go back to where you want it when the skin is loaded or refreshed.