Just got a chance to look into your replies... So here are my questions/comments.
> A loop, sure. The same way you enumerate any array. Fast enumeration > if you're targeting Leopard, or using an index or NSEnumerator. Okay, sounds good. > A bundle ID is guaranteed to be unique and stable. With a name, there > may be other applications out there that are named the same thing. > Also, the user is free to rename your application, although I don't > know off-hand if the name provided by NSWorkspace is the on-disk name > or the CFBundleName. > That makes sense, as application names are subject to change. Is there some panel in Activity Monitor that I'm missing that shows you the Bundle ID of all the processes? I am not quitting my own application (as you may have guessed) but I do need some way to find it for another application. > The bundle ID is one of the values in the dictionary elements of the > array returned from -launchedApplications. I didn't get a chance to play around with NSWorkspace before I emailed you back, so I didn't quite know if it was. On another topic: Is there someway to have NSWorkspace show all the processes open? Right now it is showing me the applications, but the process that I'm targeting isn't really an application and doesn't have an interface. Thanks _______________________________________________ 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 arch...@mail-archive.com