I really have to ask... why?
You can make AutoHotkey run any abitrary program. I've used it to launch perl scripts, .bat scripts, etc. And yes, you're correct, you can't use Tk to bind a keypress when the window's out of focus. (At least, not that I know of)
davis
Kids, you tried your hardest, and you failed miserably. The lesson is: Never try.