Is it possible for an app to monitor keyboard events even when not
having input focus ? Basically the requirement is for the app to deiconify
and pop itself up when a "hot key" is pressed no matter which app has the
focus.

Thanks for any suggestions.
Srikanth

10-04-2007, 09:19 AM

unix

Re: Monitoring keyboard when not having input focus.

Cheeka wrote:
[color=blue]
> Is it possible for an app to monitor keyboard events even when not
> having input focus ? Basically the requirement is for the app to deiconify
> and pop itself up when a "hot key" is pressed no matter which app has the
> focus.[/color]

I think (and hope!) there's no way to do this from the application
itself, at least without ugly hacks.

That doesn't mean what you want can't be done, of course. The proper way
to do this is to have the window manager deiconify the window when the
hot key is pressed. How to achieve this depends on what window manager
you use.