• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting window locations for other applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Getting window locations for other applications (From: Tom Sutcliffe <email@hidden>)

  • Prev by Date: Re: converting text input in any encoding to unicode
  • Next by Date: Big grinding memory leak?
  • Previous by thread: Getting window locations for other applications
  • Next by thread: which version of unicode is os x currently using?
  • Index(es):
    • Date
    • Thread