I think they mean they want a hotkey that can be used say, when firefox is in focus, but still direct it to the shoes app.
On Fri, Jul 17, 2009 at 7:55 PM, Ehsanul Hoque<[email protected]> wrote: > Well, what's wrong with using the keypress method within shoes? Look it up > in the manual, it works as a global hotkey. Or am I missing the point? > >> Subject: global hotkey >> From: [email protected] >> To: [email protected] >> Date: Fri, 17 Jul 2009 16:18:12 -0400 >> >> I'm trying to build a small (really small) application using shoes, >> but I need to capture global hotkeys. My first approach was: >> >> * Create the base application using shoes, and build custom ruby >> extensions for mac, linux, win that will create a method to register a >> global hotkey. >> >> Since I'm a mac guy, I created the extension for mac, using Carbon >> Events... it works, except I have to install an event loop, blocking >> all other events from the app: definitely not what I want :-) >> >> What would you guys/gals do to install a cross-platform hotkey? I >> could easily hack the shoes code to add a hotkey hook to the >> Shoes::App class... but the ideal thing would be to have it in all >> platforms... >> >> regards, >> -- >> Rolando Abarca M. > > ________________________________ > Hotmail® has ever-growing storage! Don’t worry about storage limits. Check > it out. -- ~devyn
