You wish to know whether the user is doing anything with your program or anything at all with the machine? The former can be done with installing an event filter on the application object and monitoring input event flow. The latter requires tapping into the native API of each platform.
Bookmarks