in reply to Re^4: Creating keybinds GLOBALY!
in thread Creating keybinds GLOBALY!
Your application shouldn't have to worry about intercepting ALL input EVER given to any other application, but that is exactly what will happen if you try to stuff this functionality into your application.
Now, there are ways to fxck with the GUI such that some given input is redirected away from the application that has "focus" and instead goes about and does something else. Fine, great, dandy; there are uses for this sort of thing. And wow, autohotkey, as an example, does just that! Chances are very good that, if your program isn't specifically geared to do exactly and only that, ie try to imitate all the difficult bits that autohotkey and others have figured out, you'll do a completely sucky job at it.
So, are you planning to write an imitation autohotkey all in perl? If so, I give you a pre-emptory -- for trying. You'd be screwing with user input with a language that will slow everything down a lot.
If not, use autohotkey or someother similar product to do the input redirection, then concentrate on making your program do the thing it's supposed to do, and make sure it does it well.
-Scott
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Creating keybinds GLOBALY!
by BrowserUk (Patriarch) on Aug 05, 2005 at 18:57 UTC | |
by 5mi11er (Deacon) on Aug 05, 2005 at 19:55 UTC | |
|
Re^6: Creating keybinds GLOBALY!
by Ace128 (Hermit) on Aug 19, 2005 at 18:25 UTC |