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

General Discussion • How to set on top ONLY for specific app

$
0
0
Hi All !
I'm new to this forum.

How can i keep the skin stay on top position ONLY for 1 specific app and remains normal positon for the others.

Thanks!
Use the Process Measure and IfCondition tests.

This example will set this skin to "TopMost" when Notepad.exe is running and set it back to "Normal" when Notepad.exe is not running.

Code:

[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1[MeasureProcess]Measure=ProcessProcessName=notepad.exe; Substitute="-1":"not running","1":"running"IfCondition=(MeasureProcess=1)IfTrueAction=[!ZPos 2]IfFalseAction=[!ZPos 0]IfConditionMode=1[MeterString]Meter=StringText=Notepad is running, so I am moved to the top level.SolidColor=255,255,255,255

Statistics: Posted by eclectic-tech — Yesterday, 1:06 pm — Replies 1 — Views 30



Viewing all articles
Browse latest Browse all 807

Trending Articles