3 ms·
It does not at the moment. And not from the want of trying! Unfortunately the App Store sandbox does not yet allow you to detect the media keys being pressed. T
by dglancy 13y ago
It does not at the moment. And not from the want of trying! Unfortunately the App Store sandbox does not yet allow you to detect the media keys being pressed. The old way of doing it uses a very low-level function that is not available for security reasons (its essentially a key logger) within the sandbox..
Its common problem across all App Store apps, for now. Drives me crazy as well!
- signed0 13y agoThat's a shame. Perhaps someone needs to build a small library that exists outside of the App Store that notifies App Store apps when those keys are pressed. :P This reason alone is what keeps me using VLC for radio playlists.
- kapowaz 13y agoThis seems like a great idea. Build some sort of universal bridge for media keys that any compatible app can hook into? Or would the OS X sandbox prevent that, too?
- dglancy 13y agoIt is a great idea and should be possible so long as Apple is willing to approve an sandboxed app that accepts incoming connections (listens) on a port against the local interface.
- quesera 13y agoThe bridge could be the listener, and the sandboxed apps could open a connection to it. This is probably preferable design anyway. The apps should request subscription to a set of keypress events, the bridge should get approval from the user (maybe only if the app requests keys other than F keys and media keys?). The bridge should be discoverable by local bonjour rather than running on a known port.