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.

Reply via email to