Re: Getting window locations for other applications
Re: Getting window locations for other applications
- Subject: Re: Getting window locations for other applications
- From: Tom Sutcliffe <email@hidden>
- Date: Sun, 27 Apr 2003 21:48:37 +0100
OK having done a bit of RTFMing and Googling I've managed to do what I
wanted, using the CoreGraphics Framework, the CGSPrivate API hacked out
by David J Clark (many thanks if you're on this list) and a whole load
of fiddling. Now I just need to work out which of the application's
windows is the one I'm interested in...
In case anyone is interested I'm trying to implement something similar
to child windows but across applications, so having got the window
coords means I'm pretty much finished, I just need to code it up
properly.
Tom
On Saturday, April 26, 2003, at 04:07 pm, Tom Sutcliffe wrote:
Is there a way to get the bounds of a window belonging to another
application? The best I've come up with so far uses AppleScript so
only works with scriptable apps. The app I want to get info for is not
one I've written (and isn't even written in cocoa) so I can't set up a
distributed notification or anything.
_______________________________________________
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.