Getting ALL Keyboard-Input

Hi !

There are some screen-capture-applications (like Corel CAPTURE), that can be activate by a key (for example F7 puts the content of the current window to the clipboard) even when the window has NOT the focus. I want to do the same. But how ? Every hint, tip, idea, example is welcome !

Regards

Martin