• 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: enumerating the NSApplication instances?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enumerating the NSApplication instances?


  • Subject: Re: enumerating the NSApplication instances?
  • From: "Sherm Pendley" <email@hidden>
  • Date: Thu, 23 Oct 2008 16:01:17 -0400

On Thu, Oct 23, 2008 at 3:30 PM, Bill Janssen <email@hidden> wrote:

> Charles Steinman <email@hidden> wrote:
>
> > You can't get NSApplication instances for other applications.
>
> Even as root?


Don't run a GUI app as root - it's a horrible, huge, gaping security hole to
do so.

Besides which, not every app is written in Cocoa. There are still plenty of
Carbon apps around - MS Office, for instance, and Adobe's CS apps. None of
those have an NSApplication instance, and no matter how hard you try or who
you're logged in as, you can't get a reference to something that isn't
there.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: enumerating the NSApplication instances? (From: Charles Steinman <email@hidden>)
 >Re: enumerating the NSApplication instances? (From: Bill Janssen <email@hidden>)

  • Prev by Date: Re: enumerating the NSApplication instances?
  • Next by Date: Re: /Library/Logs vs. user/Library/Logs
  • Previous by thread: Re: enumerating the NSApplication instances?
  • Next by thread: Re: enumerating the NSApplication instances?
  • Index(es):
    • Date
    • Thread