Let's say I want my program to do something after some inactivity. For example let's say that the user of my program won't press any keys / or move the mouse for X seconds, then after these X seconds it'll show a MSGBox, "you were away for X seconds".
I think it'll have to detect both mouse & keyboard on any program.. but how, is there any fast way to do that?