• 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: NSWorkspace launchedApplications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWorkspace launchedApplications


  • Subject: Re: NSWorkspace launchedApplications
  • From: John Stiles <email@hidden>
  • Date: Thu, 30 Mar 2006 09:04:27 -0800

Nah, I wanted the least-complex solution. Those 3 lines of Process Manager are less complex than adding a category :)


Christopher Hickman wrote:
You could always implement this in a category method of NSWorkspace to
return an array of pids or something:

http://developer.apple.com/qa/qa2001/qa1123.html

-----Original Message-----
From: cocoa-dev-bounces+tophu=email@hidden
[mailto:cocoa-dev-bounces+tophu=email@hidden] On Behalf Of John
Stiles
Sent: Wednesday, March 29, 2006 1:09 PM
To: email@hidden
Cc: Cocoa Cocoa-Dev
Subject: Re: NSWorkspace launchedApplications

On Mar 29, 2006, at 9:07 AM, Finlay Dobbie wrote:

On 29/03/06, Sean McBride <email@hidden> wrote:
On 2006-03-28 15:26, John Stiles said:

"launchedApplications" is great, but it only shows user-level
applications, not processes.
Is there an equivalent which also lists LSUIElement apps, command
line tools, etc?
I ran into the same thing, and found that none of the Cocoa process-type
APIs consider LSUIElement apps. Carbon Process Manager was my
workaround also.
http://bugreport.apple.com/ :-)

The Cocoa process API seems to me to just be a poor shim atop the
Process Manager, anyway.

Nah... I have enough enhancement requests filed anyway. I'd rather they work on some of my other bugs than add more Process Manager-like stuff to Cocoa. Just wanted to make sure I wasn't missing anything obvious.


 _______________________________________________
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

_______________________________________________
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


  • Follow-Ups:
    • RE: NSWorkspace launchedApplications
      • From: "Christopher Hickman" <email@hidden>
References: 
 >RE: NSWorkspace launchedApplications (From: "Christopher Hickman" <email@hidden>)

  • Prev by Date: Re: NSImage Path
  • Next by Date: Getting Carbon events in Cocoa
  • Previous by thread: RE: NSWorkspace launchedApplications
  • Next by thread: RE: NSWorkspace launchedApplications
  • Index(es):
    • Date
    • Thread