Re: How to create a global hotkey?

2006-12-08 Thread k04jg02
Paul Boddie wrote: > [EMAIL PROTECTED] wrote: > > Sorry, I should have mentioned that I'm running Linux, and I only will > > be running this app while X is running. > > Global "hot keys" are typically the domain of the desktop environment > (or window manager for archaic desktops). Yep, that's wh

Re: How to create a global hotkey?

2006-12-08 Thread k04jg02
Sorry, I should have mentioned that I'm running Linux, and I only will be running this app while X is running. pyHook doesn't seem to be an option because it's win32 only. I'm guessing python-xlib is the way to go, but it seems to be that it relies on you understanding the C xlib library, which is

How to create a global hotkey?

2006-12-07 Thread k04jg02
I want to make a Python app that runs in the background, and when a user hits a key combination, for a function to run. This sounds simple enough, but all of the keypress detecting libraries I can find count on you creating a window and then detecting keypresses while that window has focus. I want