JFHotkeyManager
JFHotkeyManager copied to clipboard
Priority of app too low?
I'm trying to implement Apple DVD Player-like behavior while performing screen capture with commonly used key shortcuts (⌘ + ⇧ + 3, ⌘ + ⇧ + 4 and so on).
Thing is though I've hit problem with event handling concurrency. Usually my application handles key combinations before Screen Capture utility, but sometimes (30% of cases) event is catched just after screenshot is taken, so hiding element I'm interested in is pointless.
Just to keep it clear - I'm not looking for fool-proof method of screenshot protection (I'm completely aware of endless number of ways to achieve screenshot using third party apps, terminal or external camera).
Is it possible to increase my apps priority (on launch, while runtime, whatever) and will it help in any way?
I'm using JFHotkeyManager, Objective-C and Mac OS X range from 10.4 to 10.8.