Re: Getting key events when the program is in the background?
Re: Getting key events when the program is in the background?
- Subject: Re: Getting key events when the program is in the background?
- From: Pierre-Olivier Latour <email@hidden>
- Date: Sat, 29 Jun 2002 23:22:24 +0200
>
> 1) how do you get key events in your program even when it is in the
>
> background? Is there a clean way to do it, or do you have to use a
>
> timer and
>
> GetKeys()?
>
>
Search HotKeys in the archives or at www.cocoadev.com
>
See http://www.obdev.at/developers/articles/00001.html -- not easy, and
>
it's an evil hack anyway.
Thanks for the info!
What's the best way to create a background only app in Cocoa i.e. a deamon?
I set "NSBGOnly" to 1 in the info.plist and it works fine, but should it
still be a .app bundle, or should I change the extension?
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Manager and Lead Programmer
French Touch software
http://www.french-touch.net
Cool source code:
http://www.french-touch.net/CodeWareHouse
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.