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

Help: Rainmeter Application • Re: automatic lock screen

$
0
0
How to set rainmeter automatic lock screen, like the PC as a few minutes did not operate, automatic lock screen
Reading the replies, it's not quite clear what you want, but in any case you have to use a SysInfo measure with a SysInfoType=IDLE_TIME option and an IfCondition. The IfTrueAction has to execute an action depending on what you want.
For instance if you want to lock the computer as described by RicardoTM above, you should have to use a measure of this form:

Code:

[MeasureIdle]Measure=SysInfoSysInfoType=IDLE_TIMEIfCondition=(#CURRENTSECTION#>=60)IfTrueAction=[rundll32.exe User32.dll,LockWorkStation]
The IfCondition=(#CURRENTSECTION#>=60) option becomes true when the computer is idle for 60 seconds = 1 minute. Obviously you can replace the value with the one you want. In this moment the IfTrueAction is executed, locking the user.
Is this what you want, or sl23 had right?

Statistics: Posted by balala — Yesterday, 6:30 pm



Viewing all articles
Browse latest Browse all 1538

Trending Articles