OnUserIdle
ENTYR OnUserIDLE
Declaration
ENTRY OnUserIdle(IN INT _idle)
; script actions
END OnUserIdleParameters
_idle | represents time in seconds that use it idle |
Description
Entry Onuseridle is called periodically every 30 seconds during continuous user inactivity.
The _idle parameter is time in seconds that the user is inactive. This parameter is increased by 30 during inactivity.
Inactivity is monitored with a period of 5 seconds. Therefore, the value of the _idle is not exactly 30, 60, ... but for example 34, 63, 94 ...
The user is considered to be idle even if screen saver is running.
Example
INT _IDLE_TIME
ENTRY OnUserIdle(IN INT _idle)
_IDLE_TIME := _idle
END OnUserIdle
BEGIN
_IDLE_TIME := 0
ENDSúvisiace stránky: