NSApplication objects for all running apps?
NSApplication objects for all running apps?
- Subject: NSApplication objects for all running apps?
- From: Esme Cowles <email@hidden>
- Date: Sun, 1 Dec 2002 21:00:17 +0000 (GMT)
Is there any way to get NSApplication objects for all running applications
(preferably using Java)?
I'd like to write a tasklist application that displays an entry for each
open window (like GNOME, KDE, and Windows). Once you have the
NSApplication object, it's easy enough to get the app's icon and windows.
But I don't see any way to get to those NSApplication objects.
Using NSWorkspace.launchedApplications(), you can get the name, PID, full
path, etc. for all running apps. Is there another method that returns
objects, or a way to get a NSApplication for a given PID?
-Esme
--
Esme Cowles <email@hidden>, UCSD Libraries
"Many that live deserve death. And some that die deserve life. Can you give it
to them? Then do not be too eager to deal out death in judgement."
-- J.R.R. Tolkien, The Fellowship of the Ring
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.