On Thu, Oct 23, 2008 at 3:30 PM, Bill Janssen <[EMAIL PROTECTED]> wrote:

> Charles Steinman <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to