• 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 do I get the NSApplication of other running applications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I get the NSApplication of other running applications?


  • Subject: Re: How do I get the NSApplication of other running applications?
  • From: Wagner Truppel <email@hidden>
  • Date: Thu, 7 Sep 2006 17:26:00 -0700

Hi all,

I'm trying to do things with other apps and I think that the most
useful thing I can get to manipulate another app would be its
NSApplication instance. So, I tried this:

<snip>

So with that info I should be able to get TextEdit's NSApplication
instance. The only question is: how do I do it?

Many thanks, Alan

Think about it... if there was a public API allowing an application to freely access another application's shared NSApplication instance, it would be extremely easy for a malicious person to create all kinds of havoc in the user's system. Just as an example, recall that the NSApplication's instance is responsible for maintaining the application's event loop and for managing the application's resources. Imagine what I could do to someone else's application if I had programatic access to its event loop or to its nib files and other resources.


Wagner

============

How many radio astronomers does it take to change a light bulb?
None. They are not interested in that short wave stuff.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: How do I get the NSApplication of other running
  • Next by Date: Crash in NSPopUpbuttonCell
  • Previous by thread: Re: How do I get the NSApplication of other running applications?
  • Next by thread: WebKit
  • Index(es):
    • Date
    • Thread