Re: Hiding and Showing Other Applications
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