Global hotkeys


#1

Are they possible in JUCE, any platform, i want to catch keyboard events if a juce app is in the tray/not active.

also has the proxy code been added to URL class ? (i saw some code written by kraken i think)


#2

catching key presses when an app doesn’t have focus is not a feature of JUCE.

It can be done on Windows by using hooks.

On linux it requires some scary hackery IIRC.

I’m not even sure if it’s possible on OSX.

Either way, it’s pretty low level stuff.


#3

i know how to do it in windows, i was hoping juce would provide a way to do that so i don’t have to go into win32 api stuff (puke).

thanks for the answer valley.


#4