Re: Faceless background agent application
Re: Faceless background agent application
- Subject: Re: Faceless background agent application
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 3 Aug 2005 08:17:29 -0400
Hi Keith - the google word you're looking for is "lsuielement".
Daniel
On Aug 3, 2005, at 7:34 AM, Keith Alperin wrote:
Greetings cocoa-devs:
I'm attempting to write a faceless background application that will
perform an action when certain keys are pressed. Apple calls this
type of application an "Agent Application" (http://
developer.apple.com/documentation/MacOSX/Conceptual/
OSX_Technology_Overview/SoftwareDevelopment/
chapter_3_section_6.html) but other than this quick description of
what it is, the documentation is mum on how to write one. I've
been able to use the carbon hot key API to get the key handling to
work, however, i'm not sure how to write an application that runs
in the background. This may just be my objective-c/cocoa/unix
programming newbieness, but i've only been able to accomplish the
following: a) a gui app, where i can turn on the key handling via a
button in a window or b) a command line app that exits immediately
and doesn't do anything.
Is there a standard way to make a command line tool that will keep
running so that my handler function will be around to execute?
Many thanks,
Keith R. Alperin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden