GetIdleFor
GetIdleFor

Returns the time (in milliseconds) since the last time the user pressed a key / moved the mouse / etc.

time = myTime.GetIdleFor( )

Return value
The time (in milliseconds) since the user was last active

Comments

Each time the user presses a key or moves the mouse, JAM records the time. Using this, you can find out how long ago the user was last active.

See also
Time:HasBeenIdleFor



JAM © 2005 no one in partiular
Project started by David Evans in 2005