Re: Faceless tool with AppKit frameworks - SOLUTION
Re: Faceless tool with AppKit frameworks - SOLUTION
- Subject: Re: Faceless tool with AppKit frameworks - SOLUTION
- From: j o a r <email@hidden>
- Date: Wed, 29 Aug 2001 21:05:37 -0700
On Wednesday, August 29, 2001, at 05:01 , j o a r wrote:
I have a tool that I launch through the security framework for doing
authenticated stuff. This tool started out as a foundation tool project
template, but I have since added the AppKit framework to one of the
classes to be able to access NSWorkspace (iconForFile:) methods.
Is this a problem? I don't want my tool turning into a visible
application, I want it to remain a faceless background tool. This tool
is compiled into a single file binary, no application bundle here, so
there is no info.plist to modify with values for the NSUIElement or
NSBGOnly keys?
Don't keep the tool to be launched by the security framework in the same
folder as the application excecutable ("MyApp.app/Contents/MacOS"). If
you get the same problems as I did (ie. tool showing up in the Dock),
put it in the Resources folder ("MyApp.app/Contents/Resources") instead.
(Bug filed)
j o a r