• 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: Hiding and Showing Other Applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding and Showing Other Applications


  • Subject: Re: Hiding and Showing Other Applications
  • From: Brendan Younger <email@hidden>
  • Date: Wed, 4 Jul 2001 17:22:34 -0500

Check out NSWorkspace for info on notifications for when an application has quit or has been launched. As far as showing an application, the Carbon Process Manager's function SetFrontProcess() works wonderfully. (NSWorkspace manager's -launchApplication will bring an already running process front most but it does not work on the Finder. Then again, there are a LOT of things broken between the Finder and NSWorkspace.) I know of no good way to hide a process, does anyone know? There is some sample code on apple's web site in the Interapplication Communication section (specifically, MoreAppleEvents) which has a function MFESetProcessVisibility() that is supposed to work but returns always with a errAppleEventNotHandled. So much for having a scriptable Finder in OS X...

Brendan Younger


References: 
 >Hiding and Showing Other Applications (From: "Kenny Carruthers" <email@hidden>)

  • Prev by Date: Re: cocoa-dev digest, Vol 1 #234 - 16 msgs
  • Next by Date: Re: Let's hope XP doesn't keep this "one-up" on OS X!
  • Previous by thread: Re: Hiding and Showing Other Applications
  • Next by thread: Re: Peoblems with expanding items in NSOutlineView
  • Index(es):
    • Date
    • Thread