See the following technote. You will need a tech connect account. This utility executes a macro after a period of inactivity.
ID
23830
Logging in another user after a period of inactivity.
The RSView32/SE Idle Detect Control ActiveX control (IdleDetect.ocx) is a utility that allows the RSView32/RSView SE system to execute a command or macro after a period of user inactivity. Typically this control would be used to execute the "Login" command to login another user with restricted access privileges. If the "IdleState" is set to False and there is no user input the control displays a count down of the amount of time (in seconds) remaining until the "IdleState" is true. If the "IdleState" is set to True the control displays the amount of time (in seconds) since the "IdleState" was entered.