Re: List Running apps and windows
Re: List Running apps and windows
- Subject: Re: List Running apps and windows
- From: Steve Christensen <email@hidden>
- Date: Sat, 3 May 2008 16:09:28 -0700
On May 3, 2008, at 3:52 PM, Jere Gmail wrote:
I want to list all the running apps and their windows.
Running apps is easy with [ws launchedApplications] but I cant find a
way for listing their windows.
I have tried NSWindowList(win_count,arr_win) but then
[[NSApplication sharedApplication] windowWithWindowNumber:arr_win[i]]
in a bucle will give me no info on windows from other apps.
Can anyone help? Thanks
Each application has its own private address space, so including
another app's windows in your app's window list doesn't make sense.
The only way to find out about other app's windows is to have the
user enable accessibility in System Preferences. This has already
been discussed in detail here and on other lists. You might try doing
a search to see what's already been said.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden