• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Faceless tool with AppKit frameworks - SOLUTION
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Faceless tool with AppKit frameworks? (From: j o a r <email@hidden>)

  • Prev by Date: Re: Looking for a workaround for a Bug in Cocoa Window
  • Next by Date: Re: Abstract classes and methods
  • Previous by thread: Re: Faceless tool with AppKit frameworks?
  • Next by thread: capture keystrokes
  • Index(es):
    • Date
    • Thread