Hi, I am writing a code that can call a suspend command if there is low cpu activity and no mouse or keyboard activity for some time period. I wonder if there is a way to check the mouse and keyboard activity if the mouse/keyboard is not focussed on this object? Thanks. Gang