• 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: how to hide/show/bring to front apps with Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • How Do I Launch App From Net Inspired Kernel Extension?
      • From: devdrvr <email@hidden>
    • Re: how to hide/show/bring to front apps with Cocoa?
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: how to hide/show/bring to front apps with Cocoa? (From: petite_abeille <email@hidden>)

  • Prev by Date: Re: how to hide/show/bring to front apps with Cocoa?
  • Next by Date: Carbon API with carbon
  • Previous by thread: Re: how to hide/show/bring to front apps with Cocoa?
  • Next by thread: Re: how to hide/show/bring to front apps with Cocoa?
  • Index(es):
    • Date
    • Thread