Re: how to hide/show/bring to front apps with Cocoa?
Re: how to hide/show/bring to front apps with Cocoa?
- Subject: Re: how to hide/show/bring to front apps with Cocoa?
- From: Ondra Cada <email@hidden>
- Date: Sat, 13 Jul 2002 14:45:50 +0200
On Saturday, July 13, 2002, at 02:26 , petite_abeille wrote:
Thanks. I understand that I can use NSWorspace launchApplication to
basically "show" an app. And also there are relevant methods in
NSApplication to hide: and or hideOtherApplications: ... But that's from
*inside* your very own app... What I would like to do, is given some app
handler (be it a name or pid) hide/show *that* application... From the
outside in other words...
As mentioned by Nathan Day, there is an API for that in Carbon. However I
would like to use Cocoa to achieve the same effect...
Just send the appropriate NSApplication the appropriate message. If
AppleScript is designed well (which I dunno at all), it should be possible
through it. Otherwise, you need to load your own bundle into the
application to do so (eg. via InputManagement) to get "inside".
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.