Detect If Screen Saver is Running

Hi,

I need help to detect is the screen saver has cut in, any ideas or help is
appreciated.

Ian