Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1538

Help: Rainmeter Skins • Re: Is OnUnfocusAction behaving properly?

$
0
0
There is an addon that ~Faradey~ created, RainFocus, which will give a skin focus when hovered by your mouse.
I have used it in several projects and it is the only alternative to clicking the skin to allow UnFocusAction to activate. 8-)
I have tried adding a button to another skin to change the skins ZPos to 2 then 0, in order to show on top then set to normal. All good. Then I click the skin during use.
But clicking away, while setting the ZPos to -2 then 0, or even without the ZPos to 0, the skin refuses to be sent to the desktop.

Code:

[Rainmeter]Update=-1AccurateText=1MouseActionCursor=0MouseOverAction=[!ShowMeterGroup Hover][!UpdateMeterGroup Hover][!Redraw][#CURRENTPATH#RainFocus64.exe]MouseLeaveAction=[!HideMeterGroup Hover][!UpdateMeterGroup Hover][!Redraw]OnUnfocusAction=[!ZPos "-2"][!Refresh][!ZPos "0"]
If I don't use the second ZPos bang on UnfocusAction, the skin goes below a window, but can't be clicked on to bring it to the top. So it is setting the ZPos to desktop, just not actually sending the skin there.
GIF 08-02-2025 17-13-52.gif
What can I do?

Statistics: Posted by sl23 — Today, 5:14 pm



Viewing all articles
Browse latest Browse all 1538

Trending Articles