On 12 May '08, at 8:15 PM, Ben Lowndes wrote:
I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.
Nothing personal, but people seem to ask this question here about once
a week ... and I just have to
On Tue, May 13, 2008 at 4:01 PM, Jens Alfke [EMAIL PROTECTED] wrote:
I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.
Nothing personal, but people seem to ask this question here about once a
Le 13 mai 08 à 08:01, Jens Alfke a écrit :
On 12 May '08, at 8:15 PM, Ben Lowndes wrote:
I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.
Nothing personal, but people seem to ask this question
On 12 May '08, at 11:13 PM, Ben Lowndes wrote:
Yes, exactly: I'm working on a window management utility (or I'm
trying to...).
This might not be a good introductory Cocoa project. My hunch is that
doing anything interesting with/to the windows will become either
difficult or impossible
Hi Ben,
Take a look at the new Leopard only CGWindowListCopyWindowInfo
method. Its probably what you are looking for and is able to provide
a list of windows in z-order, including rect position (screen relative
of course), pid, title etc. You cant modify windows using this API,
but
On May 13, 2008, at 1:13 AM, Ben Lowndes wrote:
[...] the solution seems to lie in using the accessability API or
an input manager. Is that correct?
Please, please, please _don't_ write an input manager. They are a
gross hack, using mechanisms that (as I understand it) Apple is
planning
On May 12, 2008, at 11:01 PM, Jens Alfke wrote:
On 12 May '08, at 8:15 PM, Ben Lowndes wrote:
I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.
Nothing personal, but people seem to ask this
Hi,
I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.
I've been able to get the list of running applications from
NSworkspace, but can't see a method of getting the open windows.
Using appleScript I
On May 12, 2008, at 8:15 PM, Ben Lowndes wrote:
I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.
I've been able to get the list of running applications from
NSworkspace, but can't see a method of