in reply to Re: Creating keybinds GLOBALY!
in thread Creating keybinds GLOBALY!

Ah, yes. That binding I know of... However, it doesnt work when window is out of focus... (as I recall)

Replies are listed 'Best First'.
Re^3: Creating keybinds GLOBALY!
by anonymized user 468275 (Curate) on Aug 04, 2005 at 11:28 UTC
    If the window is out of focus, Windows will deliver the keystrokes to whichever application it considers to be in focus. That fact has nothing to do at all with whatever perl method you use to capture the keystrokes. In fact that behaviour is user-configurable under linux and windows and is therefore entirely beyond the power of the programmer (unless you hack the O/S and invent your personal GUI paradigm).

    One world, one people

Re^3: Creating keybinds GLOBALY!
by BrowserUk (Patriarch) on Aug 04, 2005 at 12:14 UTC

    If you set up a shortcut to the perl/tk app. on the desktop, then you can also setup a shortcut ket that will start the app regardless of what application currently has the focus.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.