(look for tkinactive). It's in an initial "it works for me" state, but could probably use more fixing, and could certainly use someone with MacOS X expertise to add that bit back in (I don't have a Mac system to do the work on). Currently supports Linux and Windows (with some manual build steps).This library was adjusted for TEA 3.5 and built for Win32 by kostix. Fixed sources and the Win32 binary build are available from [1].Works like so:- tkinactive ?-displayof window? ?reset?
- tk inactive for built-in support in Tk 8.5.
- tkXwin for older versions of Tk in X Window.
- tclWinidle for older versions of Tk in Windows (including Win9x).
ccbbaa - 2009-11-29 16:36:02the following code resets the screen saver on Xorg with tk 8.5 and kde. Should also work on windows. (update: it does work on XP and Vista at least)
proc timer {} {
tk inactive reset
after 5000 timer
}
timerTWAPI provides the get_input_idle_time command on Windows.

