• 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: "Finlay Dobbie" <email@hidden>
  • Date: Thu, 30 Mar 2006 19:49:19 +0100

You might also want to look at NDProcess <http://homepage.mac.com/nathan_day/>

On 30/03/06, Christopher Hickman <email@hidden> wrote:
> Whenever I have to resort to a lesser (*wink*) API to solve a problem, I
> always like to wrap it in an appropriate category method, so my code looks
> prettier. ;)
>
>   _____
>
> From: John Stiles [mailto:email@hidden]
> Sent: Thursday, March 30, 2006 12:04 PM
> To: Christopher Hickman
> Cc: email@hidden; 'Cocoa Cocoa-Dev'
> Subject: Re: NSWorkspace launchedApplications
>
>
> 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  <mailto:email@hidden>
> <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
>
 _______________________________________________
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

References: 
 >Re: NSWorkspace launchedApplications (From: John Stiles <email@hidden>)
 >RE: NSWorkspace launchedApplications (From: "Christopher Hickman" <email@hidden>)

  • Prev by Date: RE: NSWorkspace launchedApplications
  • Next by Date: Re: Question on Categories
  • Previous by thread: RE: NSWorkspace launchedApplications
  • Next by thread: Hiding zoom & minimize buttons
  • Index(es):
    • Date
    • Thread